Skip to content

Commit 134003c

Browse files
authored
ci(workflows): add auto-merge workflow (#71)
1 parent 4a3d540 commit 134003c

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/auto-merge.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: auto-merge
2+
3+
on:
4+
pull_request_target:
5+
6+
# No GITHUB_TOKEN permissions, as we use AUTOMERGE_TOKEN instead.
7+
permissions: {}
8+
9+
jobs:
10+
auto-merge:
11+
uses: mdn/workflows/.github/workflows/auto-merge.yml@main
12+
if: github.repository_owner == 'mdn'
13+
with:
14+
target-repo: ${{ github.repository }}
15+
auto-merge: true
16+
secrets:
17+
GH_TOKEN: ${{ secrets.AUTOMERGE_TOKEN }}

0 commit comments

Comments
 (0)