Commit 0bd0f06
fix: use provided github-token for writeback push
The writeback git push was using the default GITHUB_TOKEN (set up by
actions/checkout), which cannot bypass branch protection rules even when
the PAT owner is configured as a bypass actor. Switch the remote URL to
authenticate with inputs.github-token (typically a PAT with repo scope)
so the push is attributed to the token owner and respects their bypass
permissions.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent a084ff7 commit 0bd0f06
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
| 95 | + | |
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
97 | 99 | | |
98 | 100 | | |
99 | 101 | | |
100 | 102 | | |
| 103 | + | |
101 | 104 | | |
102 | 105 | | |
103 | 106 | | |
| |||
0 commit comments