Skip to content

ci: rename external links workflow to kebab-case - #109

Merged
furedea merged 1 commit into
mainfrom
ci/kebab-case-workflows
Nov 9, 2026
Merged

furedea merged 1 commit into
mainfrom
ci/kebab-case-workflows

Conversation

@furedea-agent

@furedea-agent furedea-agent Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

概要

GitHub Actions のワークフローファイル名は kebab-case が慣例のため,external_links.yml を external-links.yml にリネームします.

変更内容

  • .github/workflows/external_links.yml → external-links.yml
  • src/external_links_workflow.test.ts の参照パスを更新
  • .ls-lint.yml に .yml 用の kebab-case ルールを追加

影響

  • workflow の name: と job 名は変更していないため,required status check(all-green)に影響しません.
  • 旧名への参照は README,docs,renovate.json,他の workflow に存在しないことを確認済みです.

🤖 Generated with Claude Code

GitHub Actions workflow files conventionally use kebab-case. Rename
external_links.yml to external-links.yml, update the workflow
specification test that reads it, and require kebab-case for .yml
files in ls-lint. The workflow and job names are unchanged, so the
required all-green check is unaffected.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
furedea-com bb5cc6d Commit Preview URL

Branch Preview URL
Nov 09 2026, 08:09 AM

@furedea

furedea commented Nov 9, 2026

Copy link
Copy Markdown
Owner

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-09T08:12:23.948552Z bb5cc6d Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Comment thread .ls-lint.yml
.dir: regex:\.?[a-z0-9]+(-[a-z0-9]+)*
.md: regex:[a-z0-9]*([._][a-z0-9]+)* | regex:(README|CONTRIBUTING|CHANGELOG|AGENTS|CLAUDE|SKILL|CONTENT_LICENSE)
.yaml: regex:[a-z0-9]*([._][a-z0-9]+)* | regex:pnpm-(lock|workspace)
.yml: regex:[a-z0-9]+(-[a-z0-9]+)*

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2: The new .yml rule now applies to every *.yml file in the repo, not just workflow files. That includes the dot-prefixed .ls-lint.yml and .commitlintrc.yml. The regex [a-z0-9]+(-[a-z0-9]+)* can't match a leading dot. If ls-lint picks .yml as the extension for those files, it checks the names .ls-lint and .commitlintrc and the ls_lint pre-commit hook fails. Before this change, .yml files fell through to .*, whose [._] prefix allows a leading dot, and .dir already allows one with \.?. I couldn't run ls-lint here to confirm, so please run ls_lint locally. If it fails, a fix that keeps kebab-case:

Suggested change
.yml: regex:[a-z0-9]+(-[a-z0-9]+)*
.yml: regex:\.?[a-z0-9]+(-[a-z0-9]+)*

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Refuting with a local run: ls_lint passes on this commit (bb5cc6d), including the dot-prefixed .ls-lint.yml and .commitlintrc.yml; the lefthook pre-commit ls-lint job also passed when the commit was created. ls-lint takes the extension from the last dot after the leading dot, so a dot-prefixed file is checked as ls-lint / commitlintrc, which match the kebab-case regex. Before this change the same job failed on external-links.yml, so the rule is exercised. No change needed.

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

Review summary

The workflow rename and the updated test path are correct. The workflow name: and job names are unchanged, so required status checks aren't affected, and nothing else references the old file name.

One finding:

  • P2 .ls-lint.yml:5: the new .yml kebab-case regex has no optional leading dot. It may reject .ls-lint.yml and .commitlintrc.yml in the ls_lint pre-commit hook. I couldn't verify this because ls-lint wasn't available, so please run ls_lint locally.

No blocking issues.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: bb5cc6d8bf

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@furedea
furedea merged commit 17053ae into main Nov 9, 2026
24 checks passed
@furedea
furedea deleted the ci/kebab-case-workflows branch November 9, 2026 08: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.

1 participant