Commit 002e0d7
khalidaboelmagd
ci: use built-in GITHUB_TOKEN with contents:write perm, drop GH_PAT dep
The user's GH_PAT secret kept producing 403s on release creation (the
token showed 'never used' in GitHub — likely the secret was never
actually saved with the regenerated value). Sidestep the secret
entirely: GitHub Actions exposes a built-in GITHUB_TOKEN automatically
whose permissions can be declared at the workflow level. Grant
contents:write and the softprops/action-gh-release action picks it up
as the default GITHUB_TOKEN. No user-managed PAT needed.1 parent 7acf9c2 commit 002e0d7
1 file changed
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
| |||
120 | 123 | | |
121 | 124 | | |
122 | 125 | | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | 126 | | |
128 | 127 | | |
129 | 128 | | |
| |||
135 | 134 | | |
136 | 135 | | |
137 | 136 | | |
138 | | - | |
139 | | - | |
| 137 | + | |
| 138 | + | |
0 commit comments