Updated .github/workflows/auto-merge.yml

This commit is contained in:
Tonye Jack 2021-05-27 12:35:05 -04:00
parent bf67e44c59
commit 16e948dee6

View File

@ -9,8 +9,25 @@ jobs:
automerge: automerge:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: | 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[bot]' ||
github.actor == 'dependabot' github.actor == 'dependabot' ||
github.actor == 'dependabot-preview[bot]' ||
github.actor == 'dependabot-preview' ||
github.actor == 'renovate[bot]' ||
github.actor == 'renovate' ||
github.actor == 'github-actions[bot]'
)
steps: steps:
- name: automerge - name: automerge
uses: pascalgn/automerge-action@v0.14.2 uses: pascalgn/automerge-action@v0.14.2