Commit d521930
authored
Fix write permissions in release workflows (#1880)
## Summary
- PR #1873 added explicit `permissions` blocks with `contents: read` to
all jobs for JFrog OIDC support. This inadvertently revoked the implicit
`contents: write` that release operations require.
- `create-release.yml`: `contents: read` → `write` (needed for `gh
release create`)
- `nightly-release.yml`: `contents: read` → `write` (needed for
`softprops/action-gh-release`)
- `release-pr.yml`: `contents: read` → `write` + added `pull-requests:
write` (needed for `git push` + `gh pr create`)
## Test plan
- [ ] Merge and trigger nightly release (push to main) — verify
`create-build-artifacts` + `create-release` both succeed
- [ ] Trigger `release-pr.yml` manually with a test version — verify
branch creation + PR creation succeed
- [ ] Trigger `create-release.yml` manually — verify draft GitHub
Release is created with VSIX artifacts
This pull request and its description were written by Isaac.1 parent 3f54441 commit d521930
3 files changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
0 commit comments