qmk-firmware/.github/workflows/auto_approve.yml
Nick Brassel f75ac6042e
Lock down workflow permissions. (#19406)
Co-authored-by: Joel Challis <git@zvecr.com>
2022-12-23 10:41:16 +11:00

21 lines
425 B
YAML

name: Automatic Approve
permissions: {}
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/"