summaryrefslogtreecommitdiff
path: root/.github/workflows/auto_approve.yml
blob: 1db1c49a9bb0fb1e3d3045a35e8bca33650eca8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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/"