Skip to content

Commit d596471

Browse files
(MAINT) Add authorized account for live branch targeting (#369)
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.
1 parent 939e00f commit d596471

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/targeting-valid-branch.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ jobs:
2020
uses: MicrosoftDocs/PowerShell-Docs/.github/actions/verification/authorization/v1@main
2121
with:
2222
token: ${{ github.token }}
23+
authorized_accounts: learn-build-service-prod[bot]

0 commit comments

Comments
 (0)