Skip to content

Update release.yml comment: GHA supports YAML anchors, Zizmor doesn't#162

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/update-release-yml-comments
Draft

Update release.yml comment: GHA supports YAML anchors, Zizmor doesn't#162
Copilot wants to merge 2 commits intomainfrom
copilot/update-release-yml-comments

Conversation

Copy link
Copy Markdown

Copilot AI commented Feb 1, 2026

The comment in release.yml incorrectly stated GitHub Actions doesn't support YAML anchors. GHA has since added support, but Zizmor (our security analysis tool) does not.

Changes

  • Updated comment on line 397 to clarify that Zizmor is the blocker for YAML anchor usage, not GitHub Actions
  • Added explicit note that GHA does support anchors but Zizmor does not

Before:

# The `features` array is repeated because GHA doesn't support YAML anchors.

After:

# The `features` array is repeated because Zizmor doesn't support YAML anchors.
# (GitHub Actions does support them, but Zizmor does not.)

This keeps the workflow compatible with Zizmor while accurately documenting why we avoid YAML anchors.

Original prompt

Make a fork-internal PR that updates the comment in release.yml about YAML anchors not being supported to reflect the current situation, which is that GitHub Actions actually does support them but Zizmor does not, so we still don't use them in the CI workflows.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Clarify that GitHub Actions supports YAML anchors but Zizmor does not,
which is why we don't use them in the workflow.

Co-authored-by: EliahKagan <1771172+EliahKagan@users.noreply.github.com>
Copilot AI changed the title [WIP] Update comment in release.yml about YAML anchors support Update release.yml comment: GHA supports YAML anchors, Zizmor doesn't Feb 1, 2026
Copilot AI requested a review from EliahKagan February 1, 2026 22:00
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