summaryrefslogtreecommitdiff
path: root/.github/workflows/auto_approve.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/auto_approve.yml')
-rw-r--r--.github/workflows/auto_approve.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/auto_approve.yml b/.github/workflows/auto_approve.yml
new file mode 100644
index 0000000000..dea3f017dd
--- /dev/null
+++ b/.github/workflows/auto_approve.yml
@@ -0,0 +1,18 @@
+name: Automatic Approve
+
+on:
+ schedule:
+ - cron: "*/5 * * * *"
+
+jobs:
+ automatic_approve:
+ runs-on: ubuntu-latest
+
+ if: github.repository == 'qmk/qmk_firmware'
+
+ 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/"