Commit d9a1359
authored
fix: explicitly configure git remote to use PAT_TOKEN for pushes (#235)
* fix: use PAT_TOKEN to bypass branch protection in release workflow
Allows the cargo-workspaces release workflow to push version bump commits
to the main branch by using a Personal Access Token with bypass permissions
when available, falling back to GITHUB_TOKEN otherwise.
* fix: explicitly configure git remote to use PAT_TOKEN for pushes
cargo-workspaces uses git internally for pushes and needs the remote URL
to be configured with the PAT token to bypass branch protection rules.
This ensures the PAT_TOKEN is used for git push operations, not just checkout.1 parent e9c0edf commit d9a1359
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
60 | 69 | | |
61 | 70 | | |
62 | 71 | | |
| |||
0 commit comments