From 4a47ecec843c36c0f58a831141ee5ad3d896805a Mon Sep 17 00:00:00 2001 From: Alexander Lanin Date: Fri, 4 Sep 2026 01:36:35 +0200 Subject: [PATCH] fix(repo-policy-sync): configure Git credentials for apply mode --- .github/workflows/repo-policy-sync.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/repo-policy-sync.yml b/.github/workflows/repo-policy-sync.yml index c07cf6a..db47aa9 100644 --- a/.github/workflows/repo-policy-sync.yml +++ b/.github/workflows/repo-policy-sync.yml @@ -51,6 +51,9 @@ jobs: echo "SCORE_BOT_CLASSIC_PAT is required to apply policies across repositories." >&2 exit 1 fi + - name: Configure Git authentication for apply mode + if: env.MODE == 'apply' + run: gh auth setup-git --hostname github.com - name: Run policy sync id: sync run: >-