Skip to content

ci(workflows): use Title Case display names - #14160

Merged
kyle-sexton merged 5 commits into
mainfrom
ci/workflow-display-names
Nov 8, 2026
Merged

kyle-sexton merged 5 commits into
mainfrom
ci/workflow-display-names

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

No related issue: owner-directed naming convention, 2026-11-08

Summary

All 21 composite actions and 43 of the 45 workflows show their file or directory stem in Title Case, and every consumer of those names moves in this PR, so no trigger points at an old name. on.workflow_run.workflows matches the workflow's name, so a missed reference stops that workflow from firing with no error.

Rule: hyphens to spaces, Title Case per word, acronyms upper case. Acronyms: PR, CI, API and WIP (check-wip-cap).

Filenames, job ids, job names and step names do not change. Required status checks: the ci-gate ruleset (17989001) requires only ci-status (Actions app 15368); that is the job id ci-status in pr-require-checks.yml, unchanged, and no other ruleset (base, merge-queue, signing, trust-root, release-plugins) names a check.

All 21 actions had a name other than their directory stem, so the rule applies to the directory name; the ones whose words changed beyond case: check-wip-cap (was "Check the WIP cap"), resolve-config (was "Resolve pipeline config"), scan-upload (was "Scan an upload for credentials"), upload-fail-index (was "Upload a FAIL's index artifacts"), setup-pinned-node (was "Set up pinned Node"), setup-runner-isolation (was "Set up runner isolation").

Fix

  • name: in 43 of the 45 workflows (see Related for the two sync-managed ones) and all 21 actions.
  • on.workflow_run.workflows in the 10 listening workflows; maintenance-file-dead-links.yml lists both link-check names.
  • post-merge-demotion-alert.yml: the alert if, the bash case patterns (quoted, since they hold spaces), the concurrency fallback, and the two pr-require-checks comparisons.
  • plugins/source-control/skills/babysit-prs/scripts/babysit_review_evidence.py: the read-only workflow check compared name: to the stem to stop a workflow impersonating another's workflow_run name; it now accepts the stem or workflow_display_name(stem), so a repository on the org's name-equals-stem standard still clears it. WORKFLOW_PATH_RE (babysit_review_evidence.py:136, ^\.github/workflows/([a-z0-9][a-z0-9_-]*)\.yml$) gates the check at _readonly_candidate (:668), so only lowercase stems reach it and a file such as PR Require Checks.yml stays a lane source; a new case in test_other_workflow_paths_stay_lane_sources pins that. Each form is one-to-one on those stems. The docs line and tests move with it.
  • Tests that assert on names: post-merge-demotion-alert (workflow.test.mjs, shell test), pr-merge, pr-review-main, pr-verify, pr-merge-risk, post-merge-test-mutation, pr-unblock/workflow-gates, callers.test.mjs:9133.
  • Enforcement: one test in callers.test.mjs fails when a workflow or action name: breaks the rule.

Checked and unchanged: admit.mjs keys on filenames; babysit_checks/merge/gh/state and manage_feedback_ledger compare live workflowName values, never a literal of this repo (a persisted ledger entry keyed on an old name stops matching once); findings.py groups by id then live name; resume_cases.py names a fixture file; the gh run list/gh workflow run calls here use filenames; github.workflow is used only in concurrency groups, which nothing compares; lane-transcripts/pull.mjs records the name in a row only. Lane names, run-names, artifact names and step names (such as "Check upstream status") are separate strings and stay.

Verification

  • node --test --test-concurrency=4 over .github/scripts/**/*.test.mjs: the 4 name-regex failures found were fixed and those files re-run green (181 pass); .github/actions/*.test.mjs other than resolve-config 1272 pass, the resolve-config suite 1027 pass.
  • scripts/post-merge-demotion-alert.test.sh 330 pass, scripts/maintenance-file-dead-links.test.sh 27 pass, test_babysit_review_evidence.py 272 tests OK.
  • scripts/run-ruff.sh check on the changed Python: clean. zizmor offline over .github/workflows: no findings.
  • actionlint 1.7.12 over all workflows: only the existing queue, cache-mode and field_added schema gaps.
  • A script over every workflow_run filter: 45 distinct names, 10 listeners; the only entry that names no workflow yet is the Title Case link-check name, kept for the sync.

session: GitHub Support

Related

  • Scope is 43 of 45 workflows. maintenance-check-links-online-claude-code-plugins.yml and pr-check-managed-files-hosted.yml keep their stem names because they are sync-managed from melodic-software/standards for this repository, and check-managed-files, which ci-status aggregates, fails on any edit to them with no label or exemption. maintenance-file-dead-links.yml listens on both the old and new link-check names, so a sync on either side of the rename keeps it firing, and the new test exempts those two paths.
  • Standards follow-up: rename the sources components/lychee-online/targets/claude-code-plugins.yml and components/managed-files-guard/managed-files-guard.yml (the second ships to other sync targets), and change the workflow-name rule of naming-lint.mjs and the README's "name: equals the file stem". Once the sync lands here, drop the old listener entry and the test exemption.
  • standards also states and lints "the workflow's name: equals the file stem" (components/github-actions-conventions/README.md, naming-lint.mjs rule workflow-name). This repository does not run that lint.
  • The lane token broker (azure-iac) derives the lane from the workflow_ref path, so it is unaffected.
  • This PR's workflow_run lanes do fire: pr-verify and pr-review-main ran at head 20038888f5 while main's listeners still named pr-require-checks, and the workflows API still lists that old name for the file. Why GitHub matched is UNVERIFIED.

🤖 Generated with Claude Code

https://claude.ai/code/session_015te8Cr2dajhz5ZGuNtWJDN

Every workflow and composite action now shows its file or directory
stem in Title Case, with PR, CI, API and WIP upper case. Each
workflow_run trigger, workflow_run.name comparison and the read-only
workflow check in babysit_review_evidence.py moves with the names in
this change, since a workflow_run filter silently stops firing on a
name it does not match.

Filenames, job ids, job names and step names do not change.
callers.test.mjs now fails on a name that breaks the rule.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015te8Cr2dajhz5ZGuNtWJDN
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 8, 2026 16:29
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

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

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-08T16:29:43.963236Z
We couldn’t complete this review. Comment @codex review to try again.
16cbfbc Draft marked ready
ℹ️ 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

The babysit review evidence check runs against every repository the
plugin serves, and the org naming standard still requires name equal
to the stem. Accepting the stem beside the Title Case form keeps those
repositories clearing it, and neither form is another stem's.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015te8Cr2dajhz5ZGuNtWJDN
@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 813c96daf8ca5d38961256c619a59f390ee68fae: read 79 of 79 changed file(s); 0 finding(s), 0 as inline comments.

Chunk 1 of 2 (40 files)

Security review, chunk 1 of 2 (head 813c96d)

I found no security issues in this chunk. I read every hunk of all 40 files in it. This lane already reviewed an earlier head of this pull request, so this pass reports blocking findings only (CRITICAL and IMPORTANT).

critical-findings: 0

What I checked

Trust-control actions (trusted paths). The only change in each of these is the name: line on line 1: check-kill-switch, check-trusted-trigger, check-trusted-base, check-signed-commits, request-lane-token, resolve-config, select-trusted-text, seal-lane-output, open-lane-output, setup-runner-isolation and log-api-budget. A composite action's display name gates nothing: callers reference actions by path (./.github/actions/<dir>), not by name. So no change widens who is trusted, what a token may do, what untrusted text reaches a lane, or whether the kill switch can stop a lane. The other composite actions in this chunk change only their name: line as well.

Workflow name: changes and the workflow_run listener. This chunk renames 10 workflows. maintenance-audit-test-selection.yml is the only listener in this chunk, and it moves from [pr-require-checks] to [PR Require Checks]. That matches the new name: of pr-require-checks.yml (.claude-lane/pr.diff line 835, which is in chunk 2). The listener still has branches: [main] and keeps its read-only, no-secret posture, and its gating is unchanged. I searched the repository for comparisons of a workflow's name to a hyphenated literal that the rename would leave stale. The only matches are the removed lines in post-merge-demotion-alert.yml, which is in chunk 2 and is replaced there. So nothing in this chunk leaves a gate keyed on an old name.

Concurrency groups. The groups built from github.workflow now contain spaces (for example PR Require Checks-<run_id>). Nothing compares these values, and grouping stays one-to-one per workflow.

Test files. callers.test.mjs, the five workflow.test.mjs files, report.test.mjs and workflow-gates.test.mjs only update expected names. The new naming-rule test exempts the two sync-managed workflows. None of these gate a token, a lane or a merge hold.

Change notes. Two .changes/ fragments with text only. They delete or loosen no standing instruction.

Not covered here. The change to the read-only workflow check in babysit_review_evidence.py (it now accepts the stem or its Title Case form) is in chunk 2 and is that chunk's review to judge.

Manifests and spend. No plugin manifest is in this chunk. Nothing changes model usage, turn limits, timeouts or schedules.

PR context. The description contains no embedded instructions aimed at the review lane.

Chunk 2 of 2 (39 files)

Security review, chunk 2 of 2 (head 813c96d)

I found no security issues in this chunk. I read every hunk of all 39 files in chunk 2. This lane already reviewed an earlier head, so this pass reports blocking findings only (CRITICAL and IMPORTANT).

critical-findings: 0

What I checked

The workflow_run listeners. Ten workflows listen for other workflows by name. Each now names a workflow that this PR renames to that exact name:

  • PR Require Checks: pr-review-main, pr-verify, pr-verify-capture, pr-rate-merge-risk, maintenance-audit-test-selection and post-merge-demotion-alert.
  • Post Merge Detect Silent Revert: post-merge-demotion-alert.
  • Post Merge Select Mutation Range: post-merge-test-mutation.
  • Work Resolve Issue: work-unblock.
  • The seven names in pr-feedback-dispatch.
  • maintenance-file-dead-links: both link-check names. The earlier review covered why this is safe.

A missed name here would only stop a listener from firing. It would not let anything new through. Every listener keeps its branches filters, its same-repository and main checks, and its permissions: unchanged. The guards in pr-feedback-dispatch match on workflow_run.path, which this PR does not change.

post-merge-demotion-alert.yml. The new names are consistent across all of these:

  • the job if and its allowlist of name:event pairs;
  • the quoted bash case patterns (L401-L410);
  • the concurrency fallback;
  • the two PR Require Checks comparisons at L1467 and L1579.

The input-run check in the Read step still requires .path == ".github/workflows/pr-require-checks.yml" (L315). A run of another workflow that takes the name is still refused, and the updated shell test covers that case.

babysit_review_evidence.py. This is a trusted path, so I read its whole change and what it gates. It decides whether a changed workflow is read-only and can stop counting as a lane source. The name: check now accepts the file stem or workflow_display_name(stem) (L699-L709, L757-L760). I checked whether a new file could use this to impersonate another workflow's name:

  • WORKFLOW_PATH_RE (L136) only lets lowercase stems with no spaces reach this check.
  • On those stems the Title Case name maps back to exactly one stem: each word lowercases back to the word it came from. No stem's Title Case name equals a different stem, and none differs from another only by letter case.
  • So a workflow can only carry its own name or its own Title Case name. A file like foo.yml named PR Require Checks still fails the check. Floor workflows and review callers stay lane sources whatever their content.
  • Every other read-only test (permissions, triggers, secrets, YAML shape) is unchanged.

One edge case I checked: a stem with a trailing or doubled hyphen gets a Title Case name with extra spaces. That only matters if GitHub ignored the spacing when matching names. Even then, it needs a merged read-only workflow with no secrets, and the listeners above that act on such a run check path, branch and repository. So it gives no leak, takeover or charge, and I did not count it.

The tests and the docs line in docs/conventions/pr-pipeline/README.md change to match the code. Neither removes a rule.

Name-only renames. The other workflows in this chunk change only their top-level name:. That includes pr-require-checks.yml, pr-merge.yml, pr-unblock.yml, work-resolve-issue.yml, release-publish-plugins.yml and security-outside-actor.yml.

  • The required check ci-status is a job id, and it is unchanged.
  • The lane token broker picks the lane from the workflow_ref path, not the display name.
  • No permissions:, trigger, if: or token request changes anywhere in this chunk.

Trust controls and instruction surface. Nothing widens who is trusted, what a token can do, or what untrusted text reaches a lane. No merge hold is weakened. No standing instruction is deleted or loosened.

Manifests, spend and PR text. No plugin manifest changes in this chunk. Nothing changes model usage, turn limits or schedules. The PR description contains no instructions aimed at the review lane.

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed 813c96daf8ca5d38961256c619a59f390ee68fae: read 79 of 79 changed file(s); 0 finding(s), 0 as inline comments.

Chunk 1 of 2 (40 files)

Code review, chunk 1 of 2: blocking findings only

I found no blocking findings. I read every hunk of all 40 files in this chunk. This lane already reviewed an earlier head, so this pass reports only blocking findings.

What this chunk changes

  • Display names. The name: of all 21 composite actions and of 9 workflows becomes the file or directory stem in Title Case.
  • One trigger. maintenance-audit-test-selection.yml now listens on PR Require Checks.
  • Tests. The tests that assert on names are updated, and a new test in callers.test.mjs fails when a workflow or action name breaks the Title Case rule.
  • Changelog. Two fragments, both bump: patch.

Checked

  • New test in callers.test.mjs (L176-L189).
    • existsSync, readdirSync, readFileSync and parse are already imported (L14, L20).
    • Actions are found by listing .github/actions/ and keeping only directories that contain an action.yml, so test files sitting in that directory are skipped.
    • displayName applies the rule the PR states: hyphens to spaces, Title Case per word, and PR, CI, API and WIP upper case. Every renamed action in this chunk matches it, including Check WIP Cap, Setup Pinned Node and Upload Fail Index.
    • Only the two sync-managed workflow files the PR body names are exempt.
  • Every workflow_run listener points at a name that exists. I grepped every workflows: [ list at head: 10 listeners, all on the new names. maintenance-file-dead-links.yml keeps the old link-check stem on purpose, as the PR body explains.
  • The demotion-alert test still finds its labels. The new regex in post-merge-demotion-alert/workflow.test.mjs ("?([\w|: -]+)"?\)) reads one quoted pattern per case arm. That is the shape of the workflow's case arms at head (post-merge-demotion-alert.yml L404-L406, one pattern per arm), so it extracts all three labels. An arm with several quoted patterns joined by | would not match, but none exists.
  • The concurrency fallbacks match the tests. At head, the demotion alert falls back to the group key 'PR Require Checks' (L184), and the pr-merge tests now expect PR Require Checks-<run_id> from github.workflow. Both agree with the test changes in this chunk.
  • No unchanged code compares a workflow name to an old literal. I grepped the repository for workflow_run.name, workflowName and github.workflow compared to a lowercase literal. The only hits are lines this PR removes.

Other notes

  • Spend: none. The change is display names, triggers, tests and changelog lines.
  • Closing issue: none. The PR says the change is owner-directed, so there are no acceptance criteria to check.
  • Verification: I only read and grepped the code and ran nothing. The test counts in the PR body are the author's claims and I have not confirmed them.
  • Embedded instructions: none found in the PR context or the prior-findings file.

Chunk 2 of 2 (39 files)

Code review, chunk 2 of 2: blocking findings only

No blocking findings. I read every hunk of all 39 files in this chunk. This lane already reviewed an earlier head, so I report blocking findings only.

What I checked

  • Every workflow_run listener in the chunk names a workflow that exists under its new name.
    • pr-feedback-dispatch.yml lists 7 names. post-merge-demotion-alert.yml, pr-rate-merge-risk.yml, pr-review-main.yml, pr-verify-capture.yml and pr-verify.yml listen on PR Require Checks. post-merge-test-mutation.yml listens on Post Merge Select Mutation Range, and work-unblock.yml on Work Resolve Issue.
    • Each listed name matches the head name: of its target in this chunk.
    • maintenance-file-dead-links.yml lists both the stem and the Title Case link-check name. That matches the sync-managed exception in the PR body.
  • post-merge-demotion-alert.yml has no old name left that is compared against anything.
    • The job if allow-list, the case patterns (now quoted, because they contain spaces), the concurrency fallback and both PR Require Checks comparisons (L1467, L1579) all moved.
    • The remaining pr-require-checks strings are comments, the .path check (L315) or a workflows/pr-require-checks.yml/runs API path (L1676). All of those key on the filename.
    • IFS=$'\t' read (L329) splits only on tabs, so a name with spaces survives into RUN_WORKFLOW and into the name output.
  • No script compares a run's workflow name to an old literal. In .github/**, nothing outside tests compares workflow_run.name.
    • feedback-dispatch.mjs keys on upstream.path.
    • check-trusted-trigger.mjs compares no workflow name.
    • The babysit scripts compare live workflowName values.
  • babysit_review_evidence.py (trusted path).
    • workflow_display_name is one-to-one on the stems that reach it, because WORKFLOW_PATH_RE lets through only lowercase stems.
    • A stem's Title Case form can equal only that stem's own listener name. So accepting {stem, workflow_display_name(stem)} still stops a new read-only workflow from posing under another workflow's workflow_run name.
    • The tests cover:
      • a workflow still named by its stem;
      • the floor and lane paths under the Title Case name (still held);
      • the PR Require Checks impostor on lint-docs.yml (refused);
      • the Lint Docs.yml path (not a candidate).
    • The docs line in docs/conventions/pr-pipeline/README.md matches the code.
  • The shell tests (maintenance-file-dead-links.test.sh, post-merge-demotion-alert.test.sh) match the changed workflow strings.

Other notes

  • Spend: none. This chunk changes display names, trigger filters, tests and docs only.
  • Closing issue: none. The PR says it is owner-directed, so there are no acceptance criteria to check.
  • Verification: I only read the code and ran nothing. The test counts and the actionlint/zizmor results in the PR body are the author's claims and I have not confirmed them. The PR body also says it is unverified why the workflow_run lanes fired at an earlier head. I did not look into that.
  • Embedded instructions: none found in the PR context or the prior-findings file.

check-managed-files, which ci-status aggregates, fails on any edit to a
file sync-managed from standards, so the link-check caller and the
managed-files guard caller keep their stem names until the source is
renamed. The dead-links listener takes both link-check names, so a sync
on either side of that rename keeps it firing, and the display-name
test exempts the two paths.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015te8Cr2dajhz5ZGuNtWJDN
@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

The pr-verify verifier failed head 20038888f5cef3fc595e0666cef1cea841696707. What it wrote, as data:

What it wrote (27 lines)
Summary: PR #14160 links no issue, so the spec is its own trusted title and body: give 43 of the 45
  workflows and all 21 composite actions their stem in Title Case, and move every consumer of those
  names. The diff does that. Every `name:` changes. Every `workflow_run.workflows` filter changes:
  work-unblock, the pr-require-checks listeners, post-merge-test-mutation, pr-feedback-dispatch and
  post-merge-demotion-alert. In post-merge-demotion-alert the `if`, the quoted `case` patterns, the
  concurrency fallback and the two report-job comparisons all change. maintenance-file-dead-links
  listens on both link-check names. The two sync-managed workflows keep their stem names, as the
  body explains. The new callers.test.mjs check enforces the rule. Filenames, job ids and the
  required `ci-status` job do not change. Every pr-require-checks job concluded success on the head
  (test-node
  https://github.com/melodic-software/claude-code-plugins/actions/runs/42502157566/job/128797135351,
  the test-bash and test-python shards, and check-managed-files). That covers the changed workflow,
  shell and Python tests. One safety gap blocks: the read-only-workflow check matches a workflow's
  `name:` against its file stem as written. Once the listeners match Title Case names, a new
  workflow file whose stem is itself a Title Case name would impersonate another workflow's
  `workflow_run` name and still clear the check. The body says the mapping is one-to-one only "on
  lowercase stems", and nothing in the diff enforces lowercase stems.
- plugins/source-control/skills/babysit-prs/scripts/babysit_review_evidence.py:757: the name check
  now passes when `name.value == stem`, and the `workflow_run` listeners now match Title Case names
  such as `PR Require Checks`. A new read-only workflow file named `.github/workflows/PR Require
  Checks.yml` (stem `PR Require Checks`) can set `name: PR Require Checks`, pass this check, and
  fire main's pr-verify, pr-review-main, pr-verify-capture, pr-rate-merge-risk and
  post-merge-demotion-alert listeners. Unless `WORKFLOW_PATH_RE` already accepts only lowercase
  stems, make the stem form count only when the stem matches `^[a-z0-9]+(-[a-z0-9]+)*$`, or reject
  any name equal to `workflow_display_name` of a different stem. Add a test in
  test_babysit_review_evidence.py where a Title Case file stem with `name:` equal to that stem is
  held.

This pull request leaves the merge queue, and ci-status holds it out while it carries pr-verify-failed. A pr-verify pass removes the label, at a new commit or at this same head: once a trusted person edits the body, and only trusted people have edited it since the fail, this head is judged again, so a fail on the body or the issues it links needs only the body fixed, no new commit.

@github-actions github-actions Bot added the pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. label Nov 8, 2026
kyle-sexton and others added 2 commits November 8, 2026 12:11
WORKFLOW_PATH_RE admits only lowercase stems, so a file named like a
workflow's Title Case name never reaches the name check. This pins it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_015te8Cr2dajhz5ZGuNtWJDN
@github-actions github-actions Bot removed the pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. label Nov 8, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 8, 2026
Merged via the queue into main with commit 3b7a2b1 Nov 8, 2026
82 checks passed
@kyle-sexton
kyle-sexton deleted the ci/workflow-display-names branch November 8, 2026 17:54
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant