Commit 88e520d
committed
Harden release and release-tracker workflows
release-tracker.yml:
- Move the merged-PR gate from the build job to label-detector so
non-merge closes skip the workflow entirely.
- Add explicit contents: read permissions to the build job.
release.yml:
- Drop misleading permissions from the label-detector job, which only
runs a curl and emits a job output.
- Add packages: write to the build job alongside contents: write; the
docker/login-action push to ghcr.io requires it.
Signed-off-by: Tamal Saha <tamal@appscode.com>1 parent cc7f623 commit 88e520d
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | | - | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
0 commit comments