From bb5cc6d8bf835abdb3ee0acf07e261b667072fb3 Mon Sep 17 00:00:00 2001 From: furedea <132188853+furedea@users.noreply.github.com> Date: Mon, 9 Nov 2026 16:39:22 +0900 Subject: [PATCH] ci: rename external links workflow to kebab-case 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 --- .github/workflows/{external_links.yml => external-links.yml} | 0 .ls-lint.yml | 1 + src/external_links_workflow.test.ts | 2 +- 3 files changed, 2 insertions(+), 1 deletion(-) rename .github/workflows/{external_links.yml => external-links.yml} (100%) diff --git a/.github/workflows/external_links.yml b/.github/workflows/external-links.yml similarity index 100% rename from .github/workflows/external_links.yml rename to .github/workflows/external-links.yml diff --git a/.ls-lint.yml b/.ls-lint.yml index de903b9..455ffee 100644 --- a/.ls-lint.yml +++ b/.ls-lint.yml @@ -2,6 +2,7 @@ ls: .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]+)* .*: regex:[a-z0-9]*([._][a-z0-9]+)* ignore: diff --git a/src/external_links_workflow.test.ts b/src/external_links_workflow.test.ts index 9df3491..a7ea797 100644 --- a/src/external_links_workflow.test.ts +++ b/src/external_links_workflow.test.ts @@ -3,7 +3,7 @@ import { readFileSync } from "node:fs"; import { expect, test } from "vitest"; const workflow = readFileSync( - new URL("../.github/workflows/external_links.yml", import.meta.url), + new URL("../.github/workflows/external-links.yml", import.meta.url), "utf8", );