feat(release): gate on every named workflow, not just one - #85
Merged
Merged
Conversation
require_workflow_success took a single workflow name, so a repository with more than one quality workflow could only gate one of them. The rest were free to be red while the release proceeded, which is the same hole the input was added to close, just narrower. Accept a comma-separated list and require every named workflow to be green. A single name behaves exactly as before, so no consumer needs to change. The guard checks all of them and reports every one that is not green rather than stopping at the first, so one run shows the whole picture instead of hiding the second failure behind the first. The timeout applies per named workflow, which the input description now says. Tests cover both the all-green and one-red-among-several cases, and were confirmed to fail when the script is sabotaged to gate only the first name. The script embedded in the YAML is byte-identical to the one exercised against live GitHub data across single-name, all-green and mixed cases. Co-Authored-By: Claude Opus 5 <noreply@anthropic.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.
require_workflow_successtook a single workflow name, so a repository with more than one quality workflow could gate only one of them. The rest were free to be red while the release proceeded. That is the same hole the input was added to close, just narrower.The change
Accept a comma-separated list and require every named workflow to be green:
A single name behaves exactly as before, so no consumer needs to change.
The guard checks all of them and reports every one that is not green rather than stopping at the first, so one run shows the whole picture instead of hiding the second failure behind the first. The timeout applies per named workflow, which the input description now says.
Verification
🤖 Generated with Claude Code