Skip to content

fix(helm): accept a secret registry username in the release workflow - #999

Merged
neilime merged 2 commits into
mainfrom
fix/helm-release-secret-username
Nov 25, 2026
Merged

neilime merged 2 commits into
mainfrom
fix/helm-release-secret-username

Conversation

@neilime

@neilime neilime commented Nov 25, 2026

Copy link
Copy Markdown
Member

The reusable Helm release workflow accepts the publication username only as an input. A caller cannot pass an existing repository secret through a reusable workflow's with context, so http-header-authenticator #51 cannot preserve its Harbor robot credentials when adopting this workflow.

Add optional oci-registry-username to the workflow secrets. The publication job prefers that secret, then the existing username input, then the repository owner. Validation never receives it; the existing password, permissions, registry destination and archive handoff are unchanged.

Validation: actionlint, yamllint, offline Zizmor, Prettier and git diff --check pass. CI Dokumentor 0.6.0 regenerated the affected local-content sections. This is an optional workflow input mapping; existing chart tests cover publication and archive verification, so no implementation-mirroring test is added. No production publication was run locally.

@github-actions

Copy link
Copy Markdown
Contributor

Internal - Pull request - Continuous Integration - Test results

Workflow run and full reports · Commit c9dbd72

Jobs: 10 success · 0 failure · 0 cancelled · 0 skipped · 0 abandoned.

Test: 247 passed · 0 failed · 0 skipped.

Test details

Test results

Test Results

Status Count
✅ Passed 247
❌ Failed 0
⏭️ Skipped 0
Total 247

✅ Pass Rate: 100.0%

Job results and report availability
Job Result Report artifacts
lint success 1
test-action-helm-generate-docs success 1
test-action-helm-prepare-chart success 1
test-action-helm-prepare-release success 1
test-action-helm-lint-chart success 1
test-action-helm-test-chart success 1
test-action-helm-release-chart success 1
test-action-docker-promote-images success 1
test-action-docker-verify-images success 1
test-action-docker-prune-pull-requests-image-tags success 1

Only this attempt is included. On partial reruns, rerun all producer jobs for complete reports. CodeQL findings remain in code scanning; other diagnostics remain in the job logs.

@github-actions

Copy link
Copy Markdown
Contributor

Internal - Pull request - Continuous Integration - Code coverage

Workflow run and full reports · Commit c9dbd72

Jobs: 10 success · 0 failure · 0 cancelled · 0 skipped · 0 abandoned.

Coverage: 9 source report(s); percentages remain separate.

Coverage details

Coverage results

ci-reports-1-test-action-docker-promote-images-actions-docker-promote-images-b7466790-8a40-4ca4-bc3e-18329e4f5da8/lcov.info

Coverage

Metric Covered Total Percentage
Lines 488 494 98.79%
Branches 82 83 98.80%
Functions 23 24 95.83%

Overall: 98.79% 🟢
🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩

ci-reports-1-test-action-docker-prune-pull-requests-image-tags-actions-docker-prune-pull-requests-image-tags-1d54db24-aa14-4908-8a4d-8cbef4d22dd1/lcov.info

Coverage

Metric Covered Total Percentage
Lines 192 230 83.48%
Branches 31 39 79.49%
Functions 13 14 92.86%

Overall: 83.48% 🟢
🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩⬜⬜⬜

ci-reports-1-test-action-docker-verify-images-actions-docker-verify-images-7001e34f-35b3-44bb-91d0-35e6994d0fcb/lcov.info

Coverage

Metric Covered Total Percentage
Lines 78 78 100.00%
Branches 16 16 100.00%
Functions 3 3 100.00%

Overall: 100.00% 🟢
🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩

ci-reports-1-test-action-helm-generate-docs-actions-helm-generate-docs-d6a536e9-ca6e-44f0-abdb-65f7305b0a1e/lcov.info

Coverage

Metric Covered Total Percentage
Lines 368 386 95.34%
Branches 130 140 92.86%
Functions 29 30 96.67%

Overall: 95.34% 🟢
🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩⬜

ci-reports-1-test-action-helm-lint-chart-actions-helm-lint-chart-ac8593aa-1357-426e-a046-d07358f20358/lcov.info

Coverage

Metric Covered Total Percentage
Lines 193 200 96.50%
Branches 45 51 88.24%
Functions 11 13 84.62%

Overall: 96.50% 🟢
🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩⬜

ci-reports-1-test-action-helm-prepare-chart-actions-helm-prepare-chart-b37363e4-1b70-4eba-88e5-9bd419ef7998/lcov.info

Coverage

Metric Covered Total Percentage
Lines 204 232 87.93%
Branches 60 75 80.00%
Functions 20 24 83.33%

Overall: 87.93% 🟢
🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩⬜⬜

ci-reports-1-test-action-helm-prepare-release-actions-helm-prepare-release-f4c6b470-8c64-4190-a91f-6fd57ba2c47c/lcov.info

Coverage

Metric Covered Total Percentage
Lines 173 183 94.54%
Branches 48 55 87.27%
Functions 6 6 100.00%

Overall: 94.54% 🟢
🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩⬜

ci-reports-1-test-action-helm-release-chart-actions-helm-release-chart-ed3fc51f-027d-4e7c-92fa-dc59db7d187a/lcov.info

Coverage

Metric Covered Total Percentage
Lines 200 200 100.00%
Branches 51 55 92.73%
Functions 5 6 83.33%

Overall: 100.00% 🟢
🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩

ci-reports-1-test-action-helm-test-chart-actions-helm-test-chart-5fa12a90-a0b3-42c1-b348-5e55d771ceca/lcov.info

Coverage

Metric Covered Total Percentage
Lines 257 260 98.85%
Branches 58 62 93.55%
Functions 13 13 100.00%

Overall: 98.85% 🟢
🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩

Job results and report availability
Job Result Report artifacts
lint success 1
test-action-helm-generate-docs success 1
test-action-helm-prepare-chart success 1
test-action-helm-prepare-release success 1
test-action-helm-lint-chart success 1
test-action-helm-test-chart success 1
test-action-helm-release-chart success 1
test-action-docker-promote-images success 1
test-action-docker-verify-images success 1
test-action-docker-prune-pull-requests-image-tags success 1

Only this attempt is included. On partial reruns, rerun all producer jobs for complete reports. CodeQL findings remain in code scanning; other diagnostics remain in the job logs.

@github-actions

Copy link
Copy Markdown
Contributor

Internal - Pull request - Continuous Integration - Lint results

Workflow run and full reports · Commit c9dbd72

Jobs: 10 success · 0 failure · 0 cancelled · 0 skipped · 0 abandoned.

Lint: Collected diagnostics and Super-Linter summaries. Execution status is included in the job outcomes.

Super-Linter details

Super-linter summary

Language Validation result
BIOME_FORMAT Pass ✅
BIOME_LINT Pass ✅
CHECKOV Pass ✅
GITHUB_ACTIONS Pass ✅
GITHUB_ACTIONS_ZIZMOR Pass ✅
GITLEAKS Pass ✅
GIT_COMMITLINT Pass ✅
GIT_MERGE_CONFLICT_MARKERS Pass ✅
JSCPD Pass ✅
MARKDOWN Pass ✅
MARKDOWN_PRETTIER Pass ✅
NATURAL_LANGUAGE Pass ✅
PRE_COMMIT Pass ✅
SPELL_CODESPELL Pass ✅
TRIVY Pass ✅
YAML Pass ✅
YAML_PRETTIER Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter
Super-linter revision: 2da136927bd4a73596db63044b504547c62cb854
Super-linter version: 9.0.0

Job results and report availability
Job Result Report artifacts
lint success 1
test-action-helm-generate-docs success 1
test-action-helm-prepare-chart success 1
test-action-helm-prepare-release success 1
test-action-helm-lint-chart success 1
test-action-helm-test-chart success 1
test-action-helm-release-chart success 1
test-action-docker-promote-images success 1
test-action-docker-verify-images success 1
test-action-docker-prune-pull-requests-image-tags success 1

Only this attempt is included. On partial reruns, rerun all producer jobs for complete reports. CodeQL findings remain in code scanning; other diagnostics remain in the job logs.

@neilime
neilime merged commit 647a786 into main Nov 25, 2026
639 of 640 checks passed
@neilime
neilime deleted the fix/helm-release-secret-username branch November 25, 2026 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: fix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant