branch-names/.github/workflows/auto-merge.yml

26 lines
678 B
YAML
Raw Normal View History

2021-05-11 23:07:56 +08:00
name: automerge
on:
check_suite:
types:
- completed
jobs:
automerge:
runs-on: ubuntu-latest
if: |
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
uses: pascalgn/automerge-action@v0.15.2
2021-05-11 23:07:56 +08:00
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
2021-05-11 23:07:56 +08:00
MERGE_METHOD: "rebase"
UPDATE_METHOD: "rebase"
MERGE_RETRIES: "6"
MERGE_RETRY_SLEEP: "100000"
MERGE_LABELS: ""