From 462295744026fb895102cc63c3a1dec9e824f7c5 Mon Sep 17 00:00:00 2001 From: Marcel Rosier Date: Tue, 9 Jan 2024 17:44:13 +0100 Subject: [PATCH] - add actions --- .github/workflows/autoformat.yml | 9 +++++++++ .github/workflows/pr-lint.yml | 10 ++++++++++ 2 files changed, 19 insertions(+) create mode 100644 .github/workflows/autoformat.yml create mode 100644 .github/workflows/pr-lint.yml diff --git a/.github/workflows/autoformat.yml b/.github/workflows/autoformat.yml new file mode 100644 index 0000000..314f2f4 --- /dev/null +++ b/.github/workflows/autoformat.yml @@ -0,0 +1,9 @@ +name: autoformat + +on: + issue_comment: + types: [created, edited] +jobs: + run_autoformat: + uses: BrainLesion/BrainLes/.github/workflows/autoformat.yml@main + secrets: inherit diff --git a/.github/workflows/pr-lint.yml b/.github/workflows/pr-lint.yml new file mode 100644 index 0000000..e0d4507 --- /dev/null +++ b/.github/workflows/pr-lint.yml @@ -0,0 +1,10 @@ +name: lint + +on: + pull_request: + branches: + - main +jobs: + run_lint: + uses: BrainLesion/BrainLes/.github/workflows/pr_lint.yml@main + secrets: inherit