Skip to content

Commit

Permalink
Added .github/workflows/auto-merge.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed May 11, 2021
1 parent 75e35e3 commit 001f83a
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 001f83a

Please sign in to comment.