From a2f4a4ab66a0172b3a71068f83b5452bfe6bbcdc Mon Sep 17 00:00:00 2001 From: "Mikey Lombardi (He/Him)" Date: Wed, 14 Jan 2026 12:50:05 -0600 Subject: [PATCH] (MAINT) Add authorized account for live branch targeting (#312) Prior to this change, the GHA workflow for checking authorization on submitting PRs to the `live` branch didn't include the `authorized_accounts` parameter. When you retrieve the permissions for the `learn-build-service-prod[bot]` account, the API reports that the automation account lacks all permissions. This change adds the bot account to an allow-list to prevent the error. --- .github/workflows/targeting-valid-branch.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/targeting-valid-branch.yml b/.github/workflows/targeting-valid-branch.yml index afd6254..7486fe3 100644 --- a/.github/workflows/targeting-valid-branch.yml +++ b/.github/workflows/targeting-valid-branch.yml @@ -20,3 +20,4 @@ jobs: uses: MicrosoftDocs/PowerShell-Docs/.github/actions/verification/authorization/v1@main with: token: ${{ github.token }} + authorized_accounts: learn-build-service-prod[bot]