Quote long 0x hex literals in GitHub workflow YAML to fix parsing errors#3825
Open
MontrealAI wants to merge 1 commit into
Open
Quote long 0x hex literals in GitHub workflow YAML to fix parsing errors#3825MontrealAI wants to merge 1 commit into
MontrealAI wants to merge 1 commit into
Conversation
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.
Motivation
0x…literal was being parsed by YAML as a hex integer and rejected as "too large", causing an "Invalid workflow file" failure for CI and demo workflows.Description
0x...literals in quotes in workflowenvblocks so YAML treats them as strings instead of integers..github/workflows/ci.yml,.github/workflows/demo-aurora.yml,.github/workflows/demo-asi-global.yml,.github/workflows/demo-asi-takeoff.yml,.github/workflows/demo-zenith-hypernova.yml,.github/workflows/demo-zenith-sapience-celestial-archon.yml,.github/workflows/demo-zenith-sapience-initiative.yml,.github/workflows/demo-zenith-sapience-omnidominion.yml, and.github/workflows/demo-zenith-sapience-planetary-os.yml.Testing
yaml.safe_load) across.github/workflows/*.ymlwhich succeeded and printed "Workflow YAML parse ok".npm run ci:sync-contexts -- --check,npm run ci:verify-contexts,npm run ci:verify-companion-contexts, andnpm run ci:verify-summary-needs, and all completed successfully.ci/required-contexts.jsonmanifest and the CI summary needs remain in sync withci.yml.Codex Task