From f8fc946c8ab9b4e90d7357bd9b3a36127516dedf Mon Sep 17 00:00:00 2001 From: zvecr Date: Sat, 2 Apr 2022 20:53:33 +0100 Subject: [PATCH] Automatically approve workflow runs from first time contributors --- .github/workflows/auto_approve.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/auto_approve.yml diff --git a/.github/workflows/auto_approve.yml b/.github/workflows/auto_approve.yml new file mode 100644 index 000000000000..7c0a982b4412 --- /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/"