Commit a936042
committed
Tighten CI/release workflow secrets, perms, and release notes
ci.yml:
- Drop `set -x` from the "Prepare git" step so the git config insteadOf
URL (which embeds GITHUB_TOKEN) is not echoed by bash trace.
release.yml:
- Switch ghcr.io login from the bot user `1gtm` / `LGTM_GITHUB_TOKEN` PAT
to `github.actor` / `GITHUB_TOKEN`, relying on the `packages: write`
permission already declared on the build job.
- Drop the unused `contents: write` block from `label-detector`, which
only runs a curl and emits a job output.
- Add `generate_release_notes: true` to `softprops/action-gh-release`
so GitHub auto-populates the release notes from commit history.
Signed-off-by: Tamal Saha <tamal@appscode.com>1 parent 570188e commit a936042
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
0 commit comments