Skip to content

FIX: quote glob in linkcheck.yml so the workflow file parses#333

Merged
mmcky merged 1 commit into
mainfrom
fix/linkcheck-yaml
Jun 5, 2026
Merged

FIX: quote glob in linkcheck.yml so the workflow file parses#333
mmcky merged 1 commit into
mainfrom
fix/linkcheck-yaml

Conversation

@jstac
Copy link
Copy Markdown
Contributor

@jstac jstac commented Jun 4, 2026

Summary

One-character fix: args: **/*.htmlargs: "**/*.html" in .github/workflows/linkcheck.yml.

The unquoted glob is invalid YAML — a plain scalar cannot begin with * (the alias indicator) — so the workflow file fails to parse. Since #249, GitHub has been logging a 0-second "workflow file issue" failure named .github/workflows/linkcheck.yml on every push to every branch, including main (visible in the Actions tab as a long row of failed runs with no jobs).

The lychee invocation itself is unchanged; the workflow still only runs on its weekly schedule and workflow_dispatch.

Verified locally with yaml.safe_load — the file now parses.

cc @mmcky since this touches CI config.

🤖 Generated with Claude Code

`args: **/*.html` is invalid YAML (a plain scalar cannot start with
`*`, the alias indicator), so GitHub has been logging a 0-second
"workflow file issue" failure for this file on every push to every
branch since #249. Quoting the glob restores a parseable workflow;
the lychee invocation itself is unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 4, 2026

Deploy Preview for lustrous-melomakarona-3ee73e ready!

Name Link
🔨 Latest commit 87aec7c
🔍 Latest deploy log https://app.netlify.com/projects/lustrous-melomakarona-3ee73e/deploys/6a21307227d07f0008e7e364
😎 Deploy Preview https://deploy-preview-333--lustrous-melomakarona-3ee73e.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Fixes an invalid YAML scalar in the link checker workflow by quoting a glob pattern that begins with *, ensuring .github/workflows/linkcheck.yml parses correctly so GitHub Actions no longer reports a “workflow file issue” failure on pushes.

Changes:

  • Quote the args glob passed to lycheeverse/lychee-action (**/*.html"**/*.html") to make the workflow valid YAML.

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

@mmcky mmcky self-requested a review June 4, 2026 08:02
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 4, 2026

@github-actions github-actions Bot temporarily deployed to pull request June 4, 2026 08:09 Inactive
@mmcky mmcky merged commit 4d9e9dc into main Jun 5, 2026
10 checks passed
@mmcky mmcky deleted the fix/linkcheck-yaml branch June 5, 2026 04:19
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.

3 participants