Repository navigation
fix(ci): extract bump-tools body to a script file - #348
Open
tmurphy24-lab wants to merge 2 commits into
Open
tmurphy24-lab wants to merge 2 commits into
tmurphy24-lab wants to merge 2 commits into
Conversation
actionlint pipes each run: block to shellcheck over a 4 KiB anonymous pipe before starting the process; anything larger blocks forever, hanging the audit on this file past its hung-tool timeout. No actionlint/shellcheck version avoids it (structural stdin bug, verified 1.7.7/1.7.12 x 0.10.0/0.11.0). The one-line run: block answers in 0.2s; the extracted script is byte-identical to the old block and shellcheck-clean, so coverage moves to the gate's normal shell-file lint unchanged.
This branch has not been deployed
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.
Extracts the bump-tools workflow body to scripts/bump-tools.sh (shfmt-formatted) so the actionlint stall is isolated to a plain script step.
Why: actionlint pipes each run: block to shellcheck over a 4 KiB anonymous pipe before starting the process; anything larger blocks forever, hanging the audit on this file past its hung-tool timeout. No actionlint/shellcheck version avoids it (structural stdin bug, verified 1.7.7/1.7.12 x 0.10.0/0.11.0).
The extracted script is byte-identical to the old block and shellcheck-clean, so coverage moves to the gate's normal shell-file lint unchanged.
Note: local pre-push gate could not run on the author's machine (Go toolchain missing: all findings unchecked, 0 judged failing); relying on CI for the real verdict.