2021-04-22 13:08:04 +03:00
|
|
|
name: Auto approve
|
|
|
|
on:
|
2022-12-16 17:13:55 +03:00
|
|
|
pull_request_target:
|
|
|
|
branches: [ master, stable-* ]
|
2021-04-22 13:08:04 +03:00
|
|
|
|
2022-12-16 14:24:03 +03:00
|
|
|
permissions:
|
2022-12-16 17:13:55 +03:00
|
|
|
pull-requests: write
|
2022-12-16 14:24:03 +03:00
|
|
|
|
2021-04-22 13:08:04 +03:00
|
|
|
jobs:
|
2022-12-16 17:13:55 +03:00
|
|
|
auto-approve:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: hmarr/auto-approve-action@de8ae18c173c131e182d4adf2c874d8d2308a85b # v3.1.0
|
|
|
|
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
|
|
|
|
with:
|
|
|
|
github-token: "${{ secrets.GITHUB_TOKEN }}"
|