Skip to content

Add checks before generating a release#2019

Open
sondavidb wants to merge 1 commit into
awslabs:mainfrom
sondavidb:add-checks-to-release-workflow
Open

Add checks before generating a release#2019
sondavidb wants to merge 1 commit into
awslabs:mainfrom
sondavidb:add-checks-to-release-workflow

Conversation

@sondavidb

Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes:
Ideally we would want to run checks before pushing a tag, however the infra required for the GPG key does not currently exist and would require a revamp of our existing architecture. So this is the stop-gap solution I've arrived at, which will let maintainers push a tag but not allow the release to be created if the requisite checks don't pass.

This isn't an amazing solution but having a dead tag floating around for a couple of minutes is definitely better than missing release artifacts.

Testing performed:
Workflow run with correct artifacts in place: https://github.com/sondavidb/soci-snapshotter/actions/runs/27792753716
Workflow cut off main (missing THIRD_PARTY_LICENSES): https://github.com/sondavidb/soci-snapshotter/actions/runs/27792753716
Workflow run with correct assets in place but bad THIRD_PARTY_LICENSES: https://github.com/sondavidb/soci-snapshotter/actions/runs/27793042063

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Ideally we would want to run checks before pushing a tag, however the
infra required for the GPG key does not currently exist and would
require a revamp of our existing architecture. So this is the stop-gap
solution I've arrived at, which will let maintainers push a tag but not
allow the release to be created if the requisite checks don't pass.

This isn't an amazing solution but having a dead tag floating around for
a couple of minutes is definitely better than missing release artifacts.

Signed-off-by: David Son <davbson@amazon.com>
@sondavidb sondavidb requested a review from a team as a code owner June 18, 2026 22:26
@github-actions github-actions Bot added the github_actions Pull requests that update GitHub Actions code label Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant