Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mpminardi
Copy link
Member

Add logic to ensure that create_release is run if we are intentionally skipping tests.

Updates #47

Add logic to ensure that `create_release` is run if we are intentionally
skipping tests.

Updates #47

Signed-off-by: Mario Minardi <[email protected]>
@mpminardi mpminardi requested a review from bradfitz February 27, 2025 15:36
@mpminardi mpminardi self-assigned this Feb 27, 2025
# of the jobs is skipped. We must check that the result of `build_release` is
# "success" and that `test` is one of "success" or "skipped" as a result to ensure
# we are only creating a release when the `test` job has suceeded or been skipped.
if: always() && contains(needs.build_release.result, 'success') && (contains(needs.test.result, 'success') || contains(needs.test.result, 'skipped')) && contains(fromJSON('["push", "workflow_dispatch"]'), github.event_name)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mpminardi mpminardi merged commit 74b0e4c into tailscale.go1.24 Feb 27, 2025
4 checks passed
@mpminardi mpminardi deleted the mpminardi/create-release-when-tests-skipped branch February 27, 2025 16:00
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