Skip to content

Conversation

@cbs228
Copy link
Owner

@cbs228 cbs228 commented Sep 6, 2025

Previously, "build and test" jobs would upload releases themselves, if they were cleared to do so. This mixing is not great from a pipeline security standpoint since the entire workflow runs with contents: write. It also introduces the potential for a partial release. If some jobs complete, but others do not, then a release will be issued without all its binaries.

Make this operation more atomic by performing publishing activities in separate jobs. The publish jobs download all the artifacts and create the release.

@cbs228 cbs228 self-assigned this Sep 6, 2025
Previously, "build and test" jobs would upload releases themselves,
if they were cleared to do so. This mixing is not great from a
pipeline security standpoint since the entire workflow runs with
`contents: write`. It also introduces the potential for a
*partial release*. If some jobs complete, but others do not, then
a release will be issued without all its binaries.

Make this operation more atomic by performing publishing activities
in separate jobs. The publish jobs download all the artifacts and
create the release.
@cbs228 cbs228 force-pushed the bugfix/ci_release_atomic branch from b3c2715 to 1032de9 Compare September 6, 2025 17:40
@cbs228 cbs228 merged commit 1032de9 into develop Sep 6, 2025
12 checks passed
@cbs228 cbs228 deleted the bugfix/ci_release_atomic branch September 6, 2025 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants