Repository navigation
feat(ci): call a publish workflow after a release - #50
Merged
Merged
Conversation
The reusable workflow release.yml gets the output sha, the commit of the release. With the new answer release_publish_permissions, the release caller of the template calls .github/workflows/publish.yml of the repository for a release that the run reports, also when the release job then fails, with the inputs tag-name and sha. The render fails for an answer that it cannot render, so Copier cannot discard a stored answer. release-please-config.json goes into _skip_if_exists. Refs #48
dan-petty
marked this pull request as ready for review
December 1, 2026 01:27
dan-petty-release Bot
added a commit
that referenced
this pull request
Dec 1, 2026
🤖 I have created a release *beep* *boop* --- ## [0.5.0](v0.4.1...v0.5.0) (2026-12-01) ### Features * **ci:** call a publish workflow after a release ([#50](#50)) ([dcd1602](dcd1602)), closes [#48](#48) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A repository that publishes after a release must change the template's
release.yml, so eachcopier updateconflicts. Library part of design B of dan-petty/devops-cli#7980.release.ymlgets the outputsha, the commit of the release.release_publish_permissionsrenders a job that calls the repository's.github/workflows/publish.ymlfor a release, withtag-name,shaand no secret, also when the release job then fails.release-please-config.json: template changes to it no longer arrive.Risk: a missing
publish.ymlor too few permissions stop each run ofrelease.yml. actionlint misses the second.Existing tool: Copier, reusable workflows.
Proof: 232 of 232 template cases pass. Live runs 46550417537 and 46552127727 show the call and its reruns. Not proved: a release with the answer.
Closes #48
Change:
openspec/changes/archive/2026-12-01-48-publish-call/