summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-04-02 22:09:16 +0100
committerGitHub <noreply@github.com>2022-04-02 22:09:16 +0100
commit4f30b7a2c9d04070f1df8936bf3e75eee14558bc (patch)
tree06c0f25cb6fda5d782cda3dd731f47651fcd776c
parent1caccca1f6f2645479ba8027de996b6fc50c3f46 (diff)
Automatically approve workflow runs from first time contributors (#16774)
-rw-r--r--.github/workflows/auto_approve.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/auto_approve.yml b/.github/workflows/auto_approve.yml
new file mode 100644
index 0000000000..7c0a982b44
--- /dev/null
+++ b/.github/workflows/auto_approve.yml
@@ -0,0 +1,16 @@
+name: Automatic Approve
+
+on:
+ schedule:
+ - cron: "*/5 * * * *"
+
+jobs:
+ automatic_approve:
+ runs-on: ubuntu-latest
+
+ steps:
+ uses: mheap/automatic-approve-action@v1
+ with:
+ token: ${{ secrets.QMK_BOT_TOKEN }}
+ workflows: "format.yml,lint.yml,unit_test.yml"
+ dangerous_files: "lib/python/,Makefile,paths.mk,builddefs/"