Parcourir la source

Automatically approve workflow runs from first time contributors (#16774)

Joel Challis il y a 3 ans
Parent
commit
4f30b7a2c9
1 fichiers modifiés avec 16 ajouts et 0 suppressions
  1. 16 0
      .github/workflows/auto_approve.yml

+ 16 - 0
.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/"