Skip to content

Commit 575c33a

Browse files
authored
fix(ci): use PAT for checkout to bypass branch protection (#34)
The manifest bump step pushes directly to main, which the default GITHUB_TOKEN cannot do under the current ruleset. Use the org-level GH_PERSONAL_ACCESS_TOKEN instead so the push identity has bypass permission. Signed-off-by: Ben <ben@armosec.io>
1 parent f888c11 commit 575c33a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/pr-merged.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
- uses: actions/checkout@v4
2727
with:
2828
fetch-depth: 0
29+
token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
2930

3031
- uses: actions/setup-go@v5
3132
with:

0 commit comments

Comments
 (0)