Repository navigation
fix(action): fail on a reportless run and encode the baseline name - #429
Merged
TMHSDigital merged 1 commit intoNov 17, 2026
Conversation
…MHSDigital#407) - exit 1 when subenum exits 0 without a report (-dry-run, -version) - URL-encode the baseline artifact name in the gh api query - cover the exit-0 reportless case in CI
TMHSDigital
added a commit
that referenced
this pull request
Nov 17, 2026
The lab server refused every name starting with "bad", and the wildcard probe's random label is hex, so about one probe in 4096 began with "bad", came back REFUSED and failed the scan as inconclusive (seen on macOS in PR #429's CI). Use "bad-" names, which a hex label cannot match. Co-Authored-By: Claude Opus 5.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.
fix(action): fail on a reportless run and encode the baseline name
What changed:
-dry-runand-versionare the exit-0 reportless cases.gh apiquery, so names containing&,+,#or%resolve instead of being truncated or reinterpreted.-versionand asserts the step fails with no verdict output.Why:
Tests:
actionlintpasses on the repository.go test ./internal/cli/ -run TestDocsActionPinsMatchWorkflowspasses.run:block fromaction.ymland ranbash -non each; all pass.Related: #407