3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2025-01-16 13:56:45 +00:00

Updated .github/workflows/auto-approve.yml

This commit is contained in:
Tonye Jack 2021-05-25 00:49:42 -04:00
parent 5fe8e4d604
commit 8f723a129d

View file

@ -7,17 +7,26 @@ jobs:
auto-approve: auto-approve:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: hmarr/auto-approve-action@v2 - uses: hmarr/auto-approve-action@v2
if: | if: |
github.actor == 'dependabot[bot]' || (
github.actor == 'dependabot' || github.event.pull_request.user.login == 'dependabot[bot]' ||
github.actor == 'dependabot-preview[bot]' || github.event.pull_request.user.login == 'dependabot' ||
github.actor == 'dependabot-preview' || github.event.pull_request.user.login == 'dependabot-preview[bot]' ||
github.actor == 'renovate[bot]' || github.event.pull_request.user.login == 'dependabot-preview' ||
github.actor == 'renovate' || github.event.pull_request.user.login == 'renovate[bot]' ||
github.actor == 'pyup-bot' || github.event.pull_request.user.login == 'renovate' ||
github.actor == 'github-actions[bot]' || github.event.pull_request.user.login == 'github-actions[bot]'
github.actor == 'pre-commit-ci' || )
github.actor == 'pre-commit-ci[bot]' &&
with: (
github-token: ${{ secrets.PAT_TOKEN }} github.actor == 'dependabot[bot]' ||
github.actor == 'dependabot' ||
github.actor == 'dependabot-preview[bot]' ||
github.actor == 'dependabot-preview' ||
github.actor == 'renovate[bot]' ||
github.actor == 'renovate' ||
github.actor == 'github-actions[bot]'
)
with:
github-token: ${{ secrets.PAT_TOKEN }}