Skip to content

ci: validate changed GitHub workflows in the basic PR tier (#5743) - #6804

Merged
developing-today[bot] merged 1 commit into
mainfrom
queue/fallback-5743-workflow-lint
Nov 7, 2026
Merged

developing-today[bot] merged 1 commit into
mainfrom
queue/fallback-5743-workflow-lint

Conversation

@developing-today

@developing-today developing-today Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #5743.

Problem

.github/ci-policy.md classifies .github/workflows/** as class 3, but actionlint was wired only into mcpx.yml for mcpx*.yml (#1996) — a workflow-only PR (#5734) got no pull_request CI run at all, and the four composite actions under .github/actions/** had no validator either.

Change

  • .github/workflows/workflow-lint.yml — new basic-tier workflow (job basic: workflow lint) on pull_request paths .github/workflows/** + .github/actions/** (+ the validator scripts), merge_group, and workflow_dispatch. Installs pinned actionlint 1.7.7 with sha256 verification; pure bash + one static binary, seconds-long.
  • .github/scripts/check-workflows.sh — actionlint over the complete workflow set (shellcheck over run: blocks at -S warning when available, matching the mcpx leg), plus dedicated shape validation for .github/actions/*/action.yml: actionlint parses every file it is given as a workflow, so action metadata is validated against the metadata schema instead (name/description, runs.using runtime, composite steps; PyYAML parse when importable, structural fallback otherwise — both paths contract-tested).
  • .github/scripts/check-workflows.test.sh — contract tests: valid workflow passes; broken ${{ }} expression fails; unknown input to actions/checkout fails; valid composite action passes; action metadata with no runs or with runs.using: banana fails.
  • .github/ci-policy.md — new section + tier-table row documenting the check name and triggers.
  • .github/workflows/bws-freshness.yml — the whole-set lint surfaced one pre-existing finding (SC2034): the close-drift-issue step assigned title= and never used it (a copy of the create step, which does use it). Removed the dead assignment so the new gate is green on the current tree.

Verification

  • On the laptop at this head: check-workflows.sh over the full set — 52 workflows + 4 action metadata files — OK; before the bws fix it failed with exactly that one SC2034.
  • check-workflows.test.sh: all contract tests pass on both metadata-validation paths.
  • Both scripts are shellcheck-clean at -S warning.
  • Acceptance re-run against a workflow-only change is this PR itself: it touches .github/workflows/**, so basic: workflow lint fires on it.

Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@developing-today
developing-today Bot requested review from a team and dezren39 as code owners November 7, 2026 05:18
@coderabbitai

coderabbitai Bot commented Nov 7, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1af41cea-4b4c-4d03-b472-f2d0e9d2f1b5

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@developing-today

Copy link
Copy Markdown
Contributor Author

Merging per standing merge authority (lane code-d, fallback mode):

  • Codex gate: no Codex review has been posted on this PR in the 20 minutes since it opened (reviews, review comments, and conversation comments all checked via REST at 2026-11-07T05:51Z) — there are no Codex findings to disposition. CodeRabbit skipped (bot-authored PR).
  • Verification (fresh, laptop, this head): the exact payload this PR adds was executed end-to-end — check-workflows.sh over the full set (52 workflows + 4 action metadata files) reports OK with the pinned actionlint 1.7.7 binary the workflow installs, and all contract tests pass on both metadata-validation paths. Both scripts are shellcheck-clean at -S warning.
  • Acceptance proof: the new basic: workflow lint check fired on this PR itself (it touches .github/workflows/**) — a workflow-file PR no longer gets only manual-dispatch/Copilot checks.
  • CI: all basic checks are still QUEUED in the fleet-wide runner backlog (infra, all shift) — merging per the standing rule, the change itself verified directly.

@developing-today
developing-today Bot merged commit 868d0d5 into main Nov 7, 2026
7 checks passed
@developing-today
developing-today Bot deleted the queue/fallback-5743-workflow-lint branch November 7, 2026 05:29
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.

ci: validate changed GitHub workflows in the basic PR tier

0 participants