Skip to content

Commit 2f4654f

Browse files
JohnMcLearclaude
andauthored
Add Dependabot automerge workflow (#76)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 4ef972f commit 2f4654f

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/automerge.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Dependabot Automerge
2+
permissions:
3+
contents: write
4+
pull-requests: write
5+
on:
6+
workflow_run:
7+
workflows:
8+
- Node.js Package
9+
types:
10+
- completed
11+
12+
jobs:
13+
automerge:
14+
if: >
15+
github.event.workflow_run.conclusion == 'success' &&
16+
github.event.workflow_run.event == 'pull_request' &&
17+
github.event.workflow_run.actor.login == 'dependabot[bot]'
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v6
22+
23+
- name: Automerge
24+
uses: "pascalgn/automerge-action@v0.16.4"
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
MERGE_METHOD: squash
28+
MERGE_LABELS: ""
29+
MERGE_RETRY_SLEEP: "100000"
30+

0 commit comments

Comments
 (0)