2020-09-23 08:22:08 +03:00
|
|
|
name: Auto approve
|
2021-01-05 16:42:56 +03:00
|
|
|
on:
|
2021-03-29 17:44:23 +03:00
|
|
|
pull_request_target:
|
2021-01-05 16:42:56 +03:00
|
|
|
branches: [ master, stable-* ]
|
2020-09-23 08:22:08 +03:00
|
|
|
|
2022-06-10 09:03:43 +03:00
|
|
|
permissions:
|
|
|
|
pull-requests: write
|
|
|
|
|
2020-09-23 08:22:08 +03:00
|
|
|
jobs:
|
|
|
|
auto-approve:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-12-16 12:18:51 +03:00
|
|
|
- uses: hmarr/auto-approve-action@de8ae18c173c131e182d4adf2c874d8d2308a85b # v3.1.0
|
2020-09-23 08:22:08 +03:00
|
|
|
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
|
|
|
|
with:
|
2021-03-04 09:48:59 +03:00
|
|
|
github-token: "${{ secrets.GITHUB_TOKEN }}"
|