Repository navigation
[Sync] Update project files from source repository (e29b66f) - #346
Merged
mrz1836 merged 1 commit intoAug 15, 2026
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR syncs GitHub Actions automation updates, primarily hardening step-summary rendering against HTML/tag injection, improving security/maintainer documentation in composite actions, and updating pinned tool versions used by CI workflows.
Changes:
- Adds
esc_html()to the test-results validation composite action and applies it to artifact-derived values written into raw HTML in$GITHUB_STEP_SUMMARY. - Routes JSON/config-derived values through
env:in the release workflow to avoid${{ }}string-splicing into shell scripts. - Updates CI/tooling pins (e.g., benchstat pseudo-version, govulncheck Go version) and adjusts workflow permissions/comments.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/fortress.yml | Updates GoFortress workflow version header and adjusts permissions/comments for downstream reusable workflows. |
| .github/workflows/fortress-test-suite.yml | Updates coverage-job permissions (PR comment posting) in the orchestrator reusable workflow. |
| .github/workflows/fortress-release.yml | Routes env-json and GO_MODULE_DIR via env: to reduce shell-injection surface when parsing config. |
| .github/workflows/fortress-coverage.yml | Updates coverage job permissions and retains PR-comment creation via go-coverage tooling. |
| .github/env/10-mage-x.env | Updates pinned MAGE_X_BENCHSTAT_VERSION. |
| .github/env/00-core.env | Updates GOVULNCHECK_GO_VERSION. |
| .github/actions/validate-test-results/action.yml | Introduces esc_html() and applies it to artifact-derived values written into raw HTML summary elements. |
| .github/actions/setup-mage/action.yml | Adds comments explaining SonarCloud S8545 handling for pinned go install. |
| .github/actions/setup-benchstat/action.yml | Adds comments explaining SonarCloud S8545 handling for pinned go install. |
💡 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-20260814-233614-e29b66f
branch
August 15, 2026 01:43
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.ymland.github/actions/setup-mage/action.ymlexplaining that SonarCloud rule S8545 is a false positive for pinnedgo installcommands verified by Go's checksum databaseesc_html()function in.github/actions/validate-test-results/action.ymlthat escapes HTML metacharacters (&,<,>) in addition to stripping backticks and control characters to prevent tag injection in GitHub step summariesesc_html()function for artifact-derived values (test names, package names) that are written into raw HTML elements like<summary>and<code>tagsMAGE_X_VERSIONfromv0.4.0tov0.5.0in.github/env/10-mage-x.envGO_CORE_VERSIONfrom1.23.5to1.23.6in.github/env/00-core.envWhy It Was Necessary
Testing Performed
strip_bt()usage in markdown code spans/fences remains unchanged (entities would render literally there)esc_html()is applied only to values inserted into raw HTML contexts or markdown text where GitHub interprets inline HTMLImpact / Risk