Fix codeowner-update auth: add github-token for PR creation (#871)

The default GITHUB_TOKEN cannot push branches in this org.
Add explicit github-token using GH_AW_GITHUB_TOKEN secret
to the create-pull-request safe output.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Aaron Powell
2026-03-04 12:30:58 +11:00
committed by GitHub
parent 338d3e8c6e
commit 75b4531d4c
2 changed files with 4 additions and 3 deletions

View File

@@ -16,6 +16,7 @@ safe-outputs:
base-branch: staged
title-prefix: "[codeowner] "
draft: false
github-token: ${{ secrets.GH_AW_GITHUB_TOKEN }}
add-comment:
max: 1
noop: