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 23:23:59 +08:00
|
|
|
github.actor == 'dependabot[bot]' ||
|
|
|
|
github.actor == 'dependabot' ||
|
|
|
|
github.actor == 'dependabot-preview[bot]' ||
|
|
|
|
github.actor == 'dependabot-preview' ||
|
|
|
|
github.actor == 'renovate[bot]' ||
|
|
|
|
github.actor == 'renovate'
|
2021-05-11 23:07:56 +08:00
|
|
|
steps:
|
|
|
|
- name: automerge
|
2021-09-04 05:19:31 +08:00
|
|
|
uses: pascalgn/automerge-action@v0.14.3
|
2021-05-11 23:07:56 +08:00
|
|
|
env:
|
2021-05-28 23:41:44 +08:00
|
|
|
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN || github.token }}
|
2021-05-11 23:07:56 +08:00
|
|
|
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: ""
|