mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-11-23 20:03:52 +08:00
Updated .github/workflows/auto-approve.yml
This commit is contained in:
parent
d3a7681c09
commit
68a695f511
37
.github/workflows/auto-approve.yml
vendored
37
.github/workflows/auto-approve.yml
vendored
@ -7,17 +7,26 @@ jobs:
|
||||
auto-approve:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: hmarr/auto-approve-action@v2
|
||||
if: |
|
||||
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 == 'pyup-bot' ||
|
||||
github.actor == 'github-actions[bot]' ||
|
||||
github.actor == 'pre-commit-ci' ||
|
||||
github.actor == 'pre-commit-ci[bot]'
|
||||
with:
|
||||
github-token: ${{ secrets.PAT_TOKEN }}
|
||||
- uses: hmarr/auto-approve-action@v2
|
||||
if: |
|
||||
(
|
||||
github.event.pull_request.user.login == 'dependabot[bot]' ||
|
||||
github.event.pull_request.user.login == 'dependabot' ||
|
||||
github.event.pull_request.user.login == 'dependabot-preview[bot]' ||
|
||||
github.event.pull_request.user.login == 'dependabot-preview' ||
|
||||
github.event.pull_request.user.login == 'renovate[bot]' ||
|
||||
github.event.pull_request.user.login == 'renovate' ||
|
||||
github.event.pull_request.user.login == 'github-actions[bot]'
|
||||
)
|
||||
&&
|
||||
(
|
||||
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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user