Skip to content

Commit

Permalink
Add pre-commit update automerge CI actiony
Browse files Browse the repository at this point in the history
  • Loading branch information
basnijholt committed Jan 15, 2024
1 parent 631eff6 commit a6f3099
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Auto Merge

on:
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled]

jobs:
auto-merge:
runs-on: ubuntu-latest
steps:
- name: Automatic Merge
uses: pascalgn/[email protected]
if: github.event.pull_request.title == '[pre-commit.ci] pre-commit autoupdate'
with:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
MERGE_LABELS: ""
MERGE_REMOVE_LABELS: "auto-merge"
MERGE_METHOD: "squash"
MERGE_COMMIT_MESSAGE: "pull-request-title"
MERGE_FORKS: false
MERGE_RETRIES: "6"
MERGE_RETRY_SLEEP: "10000"
MERGE_DELETE_BRANCH: true

0 comments on commit a6f3099

Please sign in to comment.