mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-11-27 16:33:51 +08:00
28 lines
715 B
YAML
28 lines
715 B
YAML
name: automerge
|
|
on:
|
|
check_suite:
|
|
types:
|
|
- rerequested
|
|
- 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'
|
|
steps:
|
|
- name: automerge
|
|
uses: pascalgn/automerge-action@v0.14.2
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN || github.token }}
|
|
MERGE_METHOD: "rebase"
|
|
UPDATE_METHOD: "rebase"
|
|
MERGE_RETRIES: "6"
|
|
MERGE_RETRY_SLEEP: "100000"
|
|
MERGE_LABELS: ""
|