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