Skip to content

Commit a2f4a4a

Browse files
(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.
1 parent 1eba1ef commit a2f4a4a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.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)