From aeea62e0bfcb71e3391a1be966d929c029cef1b3 Mon Sep 17 00:00:00 2001 From: Claas Augner Date: Wed, 18 Mar 2026 14:44:21 +0100 Subject: [PATCH] ci(auto-merge): sync workflow --- .github/workflows/auto-merge.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index 10d6866e6..f0d4da78f 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -3,13 +3,12 @@ name: auto-merge on: pull_request_target: -# No GITHUB_TOKEN permissions, as we use AUTOMERGE_TOKEN instead. -permissions: {} +permissions: + contents: read jobs: auto-merge: + if: github.repository_owner == 'mdn' uses: mdn/workflows/.github/workflows/auto-merge.yml@main - with: - target-repo: "mdn/todo-react" secrets: GH_TOKEN: ${{ secrets.AUTOMERGE_TOKEN }}