2021-05-11 15:07:56 +00:00
|
|
|
name: automerge
|
|
|
|
on:
|
|
|
|
check_suite:
|
|
|
|
types:
|
|
|
|
- rerequested
|
|
|
|
- completed
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
automerge:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
if: |
|
2021-05-27 16:35:05 +00:00
|
|
|
(
|
|
|
|
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]'
|
|
|
|
)
|
2021-05-11 15:07:56 +00:00
|
|
|
steps:
|
|
|
|
- name: automerge
|
2021-05-26 20:18:44 +00:00
|
|
|
uses: pascalgn/automerge-action@v0.14.2
|
2021-05-11 15:07:56 +00:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
|
|
|
|
MERGE_METHOD: "rebase"
|
|
|
|
UPDATE_METHOD: "rebase"
|
|
|
|
MERGE_RETRIES: "6"
|
2021-05-12 12:36:10 +00:00
|
|
|
MERGE_RETRY_SLEEP: "100000"
|
2021-05-11 15:28:34 +00:00
|
|
|
MERGE_LABELS: ""
|