Skip to content

Commit 86252cc

Browse files
committed
ci(auto-merge): sync workflow
1 parent c667964 commit 86252cc

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/auto-merge.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ name: auto-merge
33
on:
44
pull_request_target:
55

6-
# No GITHUB_TOKEN permissions, as we use AUTOMERGE_TOKEN instead.
7-
permissions: {}
6+
permissions:
7+
contents: read
88

99
jobs:
1010
auto-merge:
1111
uses: mdn/workflows/.github/workflows/auto-merge.yml@main
12+
if: github.repository_owner == 'mdn'
1213
with:
13-
target-repo: "mdn/todo-react"
14+
target-repo: ${{ github.repository }}
1415
secrets:
1516
GH_TOKEN: ${{ secrets.AUTOMERGE_TOKEN }}

0 commit comments

Comments
 (0)