[Sync] Update project files from source repository (9def984)#105
Merged
mrz1836 merged 4 commits intoMar 9, 2026
Merged
Conversation
Updated 90-project.env with MAGE_X_AUTO_DISCOVER_BUILD_TAGS_EXCLUDE to prevent GOOS name conflicts when cross-compiling.
Add Windows-specific stub implementations for mmap functions and remove unnecessary gosec lint suppressions.
…309-115616-9def984
|
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
parse-envaction to use environment variable forENV_JSONinput instead of inline shell variable assignmentgithub-tokeninput parameter tosetup-go-with-cacheaction with description "GitHub token for private module authentication (only used when GOPRIVATE is set in environment)"setup-go-with-cacheaction that configures git authentication using the token and setsGONOSUMDBenvironment variable when bothGOPRIVATEandgithub-tokenare presentgithub-tokeninput parameter towarm-cacheaction matching the same description and requirement pattern as insetup-go-with-cachesetup-go-with-cachestep inwarm-cacheaction to pass through thegithub-tokeninputcontents: readpermission to multiple workflow files including fortress-benchmarks, fortress-code-quality, fortress-coverage, fortress-pre-commit, fortress-release, fortress-setup-config, fortress-test-fuzz, fortress-test-matrix, fortress-security-scans, fortress-test-suite, fortress-warm-cache, fortress.yml, and scorecard workflowsWhy It Was Necessary
ENV_JSONto an environment variable prevents potential injection vulnerabilities and follows GitHub Actions security best practicesGOPRIVATEis configuredcontents: readpermissions follow the principle of least privilege and make workflow permission requirements transparentTesting Performed
parse-envaction continues to parse environment JSON correctly with the refactored variable handlingsetup-go-with-cacheaction with and without private modules to ensure conditional authentication logic works as expectedImpact / Risk
github-tokeninput is optional with empty string default, existing workflows continue to function unchanged