Commit 3f62dcb
ci: gate Helm chart prerelease publish behind a repository variable
The prerelease job pushes the packaged chart to oci://ghcr.io/<owner>/charts,
which needs write_package on the owner's charts namespace. Forks and private
mirrors that lack it fail this job (403 permission_denied) on every PR.
Add an ENABLE_HELM_PRERELEASE gate, matching the pattern from #3901: the job
runs unless the variable is explicitly 'false', so behaviour is unchanged
where it's unset. The lint-and-test job (no push) always runs.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent af526de commit 3f62dcb
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
71 | 75 | | |
72 | | - | |
| 76 | + | |
| 77 | + | |
73 | 78 | | |
74 | | - | |
| 79 | + | |
75 | 80 | | |
76 | 81 | | |
77 | 82 | | |
| |||
0 commit comments