Repository navigation
[Sync] Update project files from source repository (4a55386) - #355
Merged
mrz1836 merged 1 commit intoAug 24, 2026
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR syncs CI/GitHub Actions infrastructure changes from the source repository, focusing on security hardening (workflow-command / output-injection mitigations), more reliable test-result processing, and routine version bumps for CI tooling.
Changes:
- Hardened multiple workflows/actions against injection vectors by stripping CR/LF from untrusted inputs and percent-encoding values embedded in
::errorworkflow commands. - Centralized test-result helper functions into a shared script and added invalid-JSON detection while summarizing CI JSONL outputs.
- Updated pinned
github/codeql-action/*SHAs and bumped CI tool versions in.github/env.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/scorecard.yml | Bumps pinned CodeQL upload-sarif action SHA/version. |
| .github/workflows/fortress-test-matrix.yml | Adds stronger matrix validation and sanitization/encoding of untrusted values emitted into logs and workflow commands. |
| .github/workflows/fortress-security-scans.yml | Bumps pinned CodeQL upload-sarif action SHA/version. |
| .github/workflows/codeql-analysis.yml | Bumps pinned CodeQL init/autobuild/analyze action SHAs/versions. |
| .github/scripts/test-result-helpers.sh | New shared bash helpers for safe integer coercion and failure counting. |
| .github/env/10-pre-commit.env | Bumps GO_PRE_COMMIT_VERSION. |
| .github/env/10-mage-x.env | Bumps MAGE_X_GORELEASER_VERSION. |
| .github/actions/validate-test-results/action.yml | Uses shared helpers; adds invalid JSON detection during aggregation (see review comment re: “hard failure” behavior). |
| .github/actions/setup-benchstat/action.yml | Strips CR/LF from version inputs and rejects Go versions with MAJOR < 1 to prevent incorrect benchstat selection. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
github-actions
Bot
deleted the
chore/sync-files-go-bitcoin-20260824-152328-4a55386
branch
August 24, 2026 15:33
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.
What Changed
.github/actions/setup-benchstat/action.ymlto prevent output-injection attacks via$GITHUB_OUTPUTand workflow commandssetup-benchstatto reject Go versions with MAJOR < 1 (e.g., "0.99") to prevent incorrect benchstat version selection logicto_intandeffective_failures) from.github/actions/validate-test-results/action.ymlinto new shared script.github/scripts/test-result-helpers.shto prevent drift between validation and summary stepsvalidate-test-resultsto treat unparseable summary lines as hard failures instead of silently underreportingMAGE_X_GORELEASER_VERSIONfromv2.17.1tov2.18.0in.github/env/10-mage-x.env.github/env/10-pre-commit.env(1 line changed).github/workflows/codeql-analysis.yml(3 additions, 3 removals).github/workflows/fortress-security-scans.yml(1 addition, 1 removal).github/workflows/fortress-test-matrix.yml(75 additions, 7 removals).github/workflows/scorecard.yml(1 addition, 1 removal)Why It Was Necessary
Testing Performed
$GITHUB_OUTPUTor workflow commandsImpact / Risk