Commit 661cf7c
authored
fix: ensure semantic-release runs on exact workflow commit (#93)
- Add explicit ref checkout and force reset to workflow SHA
- This prevents GITHUB_TOKEN 401 errors when semantic-release tries to create releases for non-HEAD commits
- GITHUB_TOKEN can only create releases/tags for the current HEAD commit due to GitHub API limitations
- Based on GitHub community findings: https://github.com/orgs/community/discussions/1210221 parent cf2243c commit 661cf7c
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
46 | 51 | | |
47 | 52 | | |
48 | 53 | | |
| |||
0 commit comments