Skip to content

Quote glob-based cibuildwheel env values in publish workflow#168

Merged
astomodynamics merged 1 commit into
masterfrom
copilot/fix-yaml-parsing-error
Apr 4, 2026
Merged

Quote glob-based cibuildwheel env values in publish workflow#168
astomodynamics merged 1 commit into
masterfrom
copilot/fix-yaml-parsing-error

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 4, 2026

/home/runner/work/cddp-cpp/cddp-cpp/.github/workflows/publish.yml is currently rejected by GitHub Actions because unquoted * patterns in env are parsed as YAML aliases instead of strings. This change makes the publish workflow parseable without changing the intended cibuildwheel selection logic.

  • Workflow parsing

    • Quote CIBW_BUILD so the Python ABI glob list is treated as a string
    • Quote CIBW_SKIP so the skip patterns are treated as a string
  • Behavior preserved

    • Keep the existing build targets for cp310 through cp313
    • Keep the existing skip rules for musllinux and win32 wheels
env:
  CIBW_BUILD: "cp310-* cp311-* cp312-* cp313-*"
  CIBW_SKIP: "*-musllinux_* *-win32"

Agent-Logs-Url: https://github.com/astomodynamics/cddp-cpp/sessions/098db056-977b-4864-af6b-b71093876f8a

Co-authored-by: astomodynamics <49183997+astomodynamics@users.noreply.github.com>
Copy link
Copy Markdown
Owner

@astomodynamics astomodynamics left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Unquoted * in YAML env values are interpreted as aliases, which breaks the workflow parser. Quoting the glob strings fixes the parse error while preserving the exact same cibuildwheel behavior.

Copy link
Copy Markdown
Owner

@astomodynamics astomodynamics left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR #168 has been approved. The fix is minimal and correct.

@astomodynamics astomodynamics merged commit 0d7ab73 into master Apr 4, 2026
3 checks passed
@astomodynamics astomodynamics deleted the copilot/fix-yaml-parsing-error branch April 4, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants