2022-03-05 18:32:28 +03:00
|
|
|
name: "autoapprove"
|
2021-09-16 11:03:10 +03:00
|
|
|
|
2021-10-27 15:37:35 +03:00
|
|
|
on:
|
|
|
|
pull_request_target:
|
|
|
|
types: [assigned, opened, synchronize, reopened]
|
2021-09-16 11:03:10 +03:00
|
|
|
|
|
|
|
permissions:
|
|
|
|
pull-requests: write
|
2021-10-27 15:23:26 +03:00
|
|
|
contents: write
|
2021-09-16 11:03:10 +03:00
|
|
|
|
|
|
|
jobs:
|
2022-03-05 18:32:28 +03:00
|
|
|
autoapprove:
|
2021-09-16 11:03:10 +03:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2021-10-27 15:56:06 +03:00
|
|
|
- name: approve
|
2022-03-05 18:32:28 +03:00
|
|
|
uses: hmarr/auto-approve-action@v2
|
|
|
|
if: github.actor == 'vtolstov' || github.actor == 'dependabot[bot]'
|
|
|
|
id: approve
|
2022-03-05 18:49:01 +03:00
|
|
|
with:
|
2022-03-05 18:54:28 +03:00
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|