Skip to content

fix(ci): repair never-parsed workflow(s) - #300

Merged
hyperpolymath merged 1 commit into
mainfrom
fix/never-parsed-workflows
Aug 3, 2026
Merged

fix(ci): repair never-parsed workflow(s)#300
hyperpolymath merged 1 commit into
mainfrom
fix/never-parsed-workflows

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Repairs GitHub Actions workflows that GitHub has never parsed. They were rejected by the workflow parser before any run could be scheduled: the API reported each workflow's name as its file path (the never-parsed fallback), and every run failed at 0s with zero jobs and no logs — invisible to gh pr checks.

Cause and fix

permissions: read-all followed by an indented actions: read — a mapping indented under a scalar value, which is a YAML syntax error. Injected by an automated permissions sweep. read-all already grants read on every scope, so the stray line is redundant as well as fatal; deleted.

How this was found

An estate-wide scan of 425 repos found 263 such workflows across 133 repos.

Verification

The edited file passes actionlint, yaml.safe_load, and a duplicate-key check. Decisive post-merge proof: the workflow resolves its declared name instead of its path.

🤖 Generated with Claude Code

These files were rejected by the workflow parser before any run could be
scheduled: the API reported each name as its file path (the never-parsed
fallback), and every run failed at 0s with zero jobs and no logs.

- .github/workflows/scorecard.yml:YAML_INVALID:drop mapping under scalar permissions: actions: read

Not changed (needs review):
- .github/workflows/security-scan.yml:UNKNOWN-needs-judgement
- .github/workflows/boj-build.yml:UNKNOWN-needs-judgement

Validated per file: actionlint, yaml.safe_load, duplicate-key check.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@gitar-bot

gitar-bot Bot commented Aug 3, 2026

Copy link
Copy Markdown

Note

Automatic reviews are paused because your trial's included automatic processing has been used for this period. Upgrade now, or comment "Gitar review" to run a review anytime.
Learn more

Code Review ✅ Approved

Removes the redundant indented actions: read block under permissions: read-all to fix a YAML syntax error that prevented GitHub from parsing the workflow. No issues found.

Auto-approved and auto-merge armed: No blocking issues found.
Please see Auto-approve Docs for details on setting custom approval criteria. — merges when pipeline and required approvals pass.

Options

Display: compact → Showing less information.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Important

Your trial ends in 7 days — upgrade now to keep code review, CI analysis, auto-apply, custom automations, and more.

Was this helpful? React with 👍 / 👎 | Gitar

@gitar-bot

gitar-bot Bot commented Aug 3, 2026

Copy link
Copy Markdown

⚠️ Gitar auto-approved this PR but could not enable auto-merge: auto-merge is disabled for this repository — enable "Allow auto-merge" in the repository settings.

@gitar-bot gitar-bot Bot added the gitar-approved Added by Gitar label Aug 3, 2026

@gitar-bot gitar-bot Bot 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.

Gitar has auto-approved this PR and enabled auto-merge (configure)

@hyperpolymath
hyperpolymath marked this pull request as ready for review August 3, 2026 13:12
@hyperpolymath
hyperpolymath merged commit 5aed773 into main Aug 3, 2026
24 of 25 checks passed
@hyperpolymath
hyperpolymath deleted the fix/never-parsed-workflows branch August 3, 2026 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gitar-approved Added by Gitar

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant