Commit 8f78d7b
committed
fix: use RELEASE_TOKEN for auto-bump in release workflow
Uses RELEASE_TOKEN (a PAT with Contents write permission) to bypass
branch protection when auto-bumping the version.
Setup required:
1. Create a Fine-Grained PAT at GitHub Settings → Developer Settings → Personal Access Tokens
2. Grant it 'Contents: Read and write' permission for this repo
3. Add it as a repository secret named RELEASE_TOKEN
The workflow falls back to GITHUB_TOKEN if RELEASE_TOKEN is not set,
which will fail on protected branches but work on unprotected ones.1 parent 51496b7 commit 8f78d7b
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| 132 | + | |
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
135 | 136 | | |
136 | 137 | | |
137 | 138 | | |
138 | 139 | | |
139 | | - | |
| 140 | + | |
140 | 141 | | |
141 | 142 | | |
142 | 143 | | |
| |||
154 | 155 | | |
155 | 156 | | |
156 | 157 | | |
157 | | - | |
| 158 | + | |
158 | 159 | | |
159 | 160 | | |
160 | 161 | | |
| |||
0 commit comments