2022-03-05 19:07:51 +03:00
|
|
|
name: "autoapprove"
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request_target:
|
|
|
|
types: [assigned, opened, synchronize, reopened]
|
2022-04-07 18:56:10 +03:00
|
|
|
workflow_run:
|
|
|
|
workflows: ["prbuild"]
|
|
|
|
types:
|
|
|
|
- completed
|
2022-03-05 19:07:51 +03:00
|
|
|
|
|
|
|
permissions:
|
|
|
|
pull-requests: write
|
|
|
|
contents: write
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
autoapprove:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: approve
|
2022-11-18 09:03:23 +03:00
|
|
|
uses: hmarr/auto-approve-action@v3
|
2022-03-05 19:07:51 +03:00
|
|
|
if: github.actor == 'vtolstov' || github.actor == 'dependabot[bot]'
|
|
|
|
id: approve
|
|
|
|
with:
|
2022-04-07 18:56:10 +03:00
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|