Skip to content

fix(ci): folded uses: scalars can't carry an inline # comment (startup failure) - #5

Merged
zircote merged 1 commit into
mainfrom
fix/v0.1.0-folded-uses
Jun 23, 2026
Merged

fix(ci): folded uses: scalars can't carry an inline # comment (startup failure)#5
zircote merged 1 commit into
mainfrom
fix/v0.1.0-folded-uses

Conversation

@zircote

@zircote zircote commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Fixes the broken main from the v0.1.0 re-pin. That change appended # v0.1.0 to folded uses: >- scalars, where # is literal — so the action ref became ...@f211de9 # v0.1.0, an invalid uses: value that startup-failed ci.yml, quality-gates.yml, and release.yml.

Fix: bare v0.1.0 SHA on folded lines (still tracks v0.1.0). The regular single-line catalog-admission uses: keeps its # v0.1.0 comment. actionlint clean; YAML parse confirms no # in any resolved uses value.

…lure)

The v0.1.0 re-pin appended '# v0.1.0' to folded 'uses: >-' scalars, where '#' is
NOT a comment — it became part of the action ref ('...@sha # v0.1.0'), an invalid
'uses:' value that startup-failed ci.yml, quality-gates.yml, and release.yml. Keep
the bare v0.1.0 SHA on folded lines; the regular (single-line) catalog-admission
uses: keeps its '# v0.1.0' comment, which is valid YAML.
Copilot AI review requested due to automatic review settings June 23, 2026 02:35
@zircote
zircote merged commit 953ab6c into main Jun 23, 2026
21 checks passed
@zircote
zircote deleted the fix/v0.1.0-folded-uses branch June 23, 2026 02:37

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Fixes GitHub Actions workflow startup failures caused by appending # v0.1.0 comments to folded uses: >- scalars (where # becomes part of the scalar value, making the resolved uses ref invalid).

Changes:

  • Remove inline # v0.1.0 suffixes from folded uses: >- workflow references so the resolved uses values are valid.
  • Remove stray blank folded-scalar lines that would otherwise introduce unexpected newlines into uses values.
  • Keep workflow behavior the same while restoring YAML/actionlint correctness.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
.github/workflows/release.yml Removes invalid inline comments from folded uses refs across gate/attestation jobs to prevent workflow parse/startup failures.
.github/workflows/quality-gates.yml Removes invalid inline comments from folded uses refs so quality-gates workflow loads correctly.
.github/workflows/ci.yml Removes invalid inline comments (and a blank folded-scalar line) from folded uses refs so CI workflow loads correctly.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ci.yml
Comment on lines 25 to +29
pin-check:
permissions:
contents: read
uses: >-
attested-delivery/.github/.github/workflows/pin-check.yml@f211de97395ced798da52e28d89d79c22b3020ee # v0.1.0

attested-delivery/.github/.github/workflows/pin-check.yml@f211de97395ced798da52e28d89d79c22b3020ee
Comment thread .github/workflows/ci.yml

attested-delivery/.github/.github/workflows/pin-check.yml@f211de97395ced798da52e28d89d79c22b3020ee
# Centralized, verified actionlint fetch.
# attested-delivery/.github @ b314c29 (#6 — in-step PATH fix)
Comment on lines 42 to +43
uses: >-
attested-delivery/.github/.github/workflows/reusable-sast-codeql.yml@f211de97395ced798da52e28d89d79c22b3020ee # v0.1.0
attested-delivery/.github/.github/workflows/reusable-sast-codeql.yml@f211de97395ced798da52e28d89d79c22b3020ee
Comment on lines 139 to +140
uses: >-
attested-delivery/.github/.github/workflows/reusable-sast-codeql.yml@f211de97395ced798da52e28d89d79c22b3020ee # v0.1.0
attested-delivery/.github/.github/workflows/reusable-sast-codeql.yml@f211de97395ced798da52e28d89d79c22b3020ee
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