Repository navigation
ci: publish the release when release-please cuts it - #42
Conversation
moxly
left a comment
There was a problem hiding this comment.
Risk Assessment
Score: 6/10 — medium
The new reusable-workflow reference is invalid, which prevents the release-please workflow from running and stops automated release creation and publishing. The impact is confined to the release pipeline; the provider runtime is unchanged.
Review Summary
Verdict: REQUEST_CHANGES
1 critical; 1 advisory nit.
The tag input, checkout fallback for manual dispatch, and signing permissions are consistent with the intended flow, but the workflow reference needs correcting before merge.
Threat model review
[nit] threat-model.xml: missing. Atlas service: no — there is no root Atlas app manifest, Atlas app caller, or Terraform configuration under infra/. The newly automated signing-secret handoff warrants documenting the release pipeline's trust boundaries.
Suggested follow-up: comment @moxly /threat-model-assistant on this PR to generate the model, then review the resulting change. This documentation follow-up is advisory and does not affect the risk score.
What I checked
Checked
- Read all four changed files' diffs and both complete release workflows.
- Checked release-please root-package configuration and tag propagation into checkout.
- Checked inherited signing secrets, publishing permissions, and manual-dispatch fallback.
- Compared the PR body with the template and the described automation changes.
- Checked threat-model presence and Atlas service classification.
Fix All — prompt for AI agent
Fix the following issue in this PR:
- In
.github/workflows/release-please.yml(line 49), replace$/.github/workflows/release.ymlwith./.github/workflows/release.ymlso GitHub accepts the local reusable-workflow call and the release pipeline can run.
After all changes, run the project's linter/formatter and validate the GitHub Actions workflow syntax.
moxly
left a comment
There was a problem hiding this comment.
Risk Assessment
Score: 1/10 — low
The previous syntax concern was incorrect: GitHub supports the $/ self-repository form for reusable workflows. The tag handoff, inherited signing secrets, and publishing permissions are consistent with the intended release flow; no production hazard remains identified.
Review Summary
Verdict: APPROVE
Re-review scoped to changes since commit c66a59a; the analysis source falls back to the full PR diff because the range since the last review contains no changed file.
0 critical, 0 warnings; 1 advisory nit. Prior code findings: 1 resolved — 0 fixed, 1 dismissed; 0 carried forward. No new inline findings.
Previous finding withdrawn
The reference at .github/workflows/release-please.yml:49 is valid and needs no change. I accept the author's correction and withdraw the previous blocking finding. Independent corroboration appears in actionlint #732 and the reusable-workflow confirmation in actionlint #711: GitHub accepts this syntax, while released actionlint versions can reject it because support is missing.
Threat model review
[nit] threat-model.xml: missing. Atlas service: no — no root Atlas app manifest, Atlas app caller, or Terraform files under infra/ were found. The signing-secret handoff remains an advisory documentation follow-up, not a production defect.
Suggested follow-up: comment @moxly /threat-model-assistant on this PR to generate the model, then review the resulting change. This follow-up does not affect the risk score.
What I checked
Checked
- Read all four changed-file diffs and both complete release workflows.
- Verified root-package release configuration, tag propagation, and manual-dispatch checkout fallback.
- Checked publishing permissions and inherited signing-secret usage.
- Corroborated support for $/ reusable-workflow references through actionlint's support proposal and independent reusable-workflow report.
- Checked threat-model presence and Atlas service classification.
Related Issue
None.
Description
Merging the release PR tags
vX.Y.Zand creates the GitHub Release, but the signed artifacts were only attached once someone dispatchedrelease.ymlagainst the tag. Until then the Release has no assets and the Terraform Registry cannot index it. The extra step adds no review: the release PR is already the approval of the version and changelog, so a forgotten dispatch only delays a release that was already approved.release-please now calls
release.ymlas a reusable workflow, with the tag it has just cut, when its run reportsrelease_created. Calling it from the same run avoids relying on a tag or release event to start another workflow.workflow_dispatchstays onrelease.ymlfor republishing a tag by hand. CONTRIBUTING.md and CLAUDE.md describe the new flow.Rollback Plan
Reverting this commit restores the manual dispatch step; published releases are unaffected.
Changes to Security Controls
The
GPG_PRIVATE_KEYandPASSPHRASEsecrets are now passed (secrets: inherit) to the publish job of the push-to-mainrelease-please workflow. That job runs only when release-please created a release in that run. Before, the same secrets were reachable by anyone able to dispatchrelease.yml. Access control on the release itself is unchanged: a release still needs a merged release PR, which branch protection gates.