mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-11-23 23:03:50 +08:00
Added .github/workflows/auto-merge.yml
This commit is contained in:
parent
92c378b826
commit
77b05d2df8
24
.github/workflows/auto-merge.yml
vendored
Normal file
24
.github/workflows/auto-merge.yml
vendored
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
name: automerge
|
||||||
|
on:
|
||||||
|
check_suite:
|
||||||
|
types:
|
||||||
|
- rerequested
|
||||||
|
- completed
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
automerge:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: |
|
||||||
|
github.actor == 'pre-commit-ci' ||
|
||||||
|
github.actor == 'pre-commit-ci[bot]' ||
|
||||||
|
github.actor == 'dependabot[bot]' ||
|
||||||
|
github.actor == 'dependabot'
|
||||||
|
steps:
|
||||||
|
- name: automerge
|
||||||
|
uses: pascalgn/automerge-action@v0.13.1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
|
||||||
|
MERGE_METHOD: "rebase"
|
||||||
|
UPDATE_METHOD: "rebase"
|
||||||
|
MERGE_RETRIES: "6"
|
||||||
|
MERGE_RETRY_SLEEP: "10000"
|
Loading…
Reference in New Issue
Block a user