Skip to content

Check .github/ YAML format in CI - #10

Closed
Chase Hallahan (chasehallahan) wants to merge 1 commit into
mainfrom
chore/workflow-yaml-format
Closed

Chase Hallahan (chasehallahan) wants to merge 1 commit into
mainfrom
chore/workflow-yaml-format

Conversation

@chasehallahan

Copy link
Copy Markdown
Collaborator

Adds the org's workflow YAML check (surmado/.github#168, STANDARDS.md → GitHub Actions YAML). This repo calls neither ci-python.yml nor ci-node.yml, so ci.yml gets it as its own workflow-yaml job.

Every file here is already 2-space Prettier YAML, so the job is the whole change.

⚠️ Merge after surmado/.github#168. Until workflow-yaml-format.yml is on that repo's main, GitHub can't resolve the new job and this repo's CI fails to start. Re-run CI once it merges.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@surmado-code-review-sandbox

surmado-code-review-sandbox Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Automated Checks (advisory, non-blocking)

✅ All checks passed.


Standards Compliance

.github/workflows/ci.yml follows the GitHub Actions YAML standard by adding the required standalone formatter job for a repo that does not call shared ci-python.yml or ci-node.yml:

workflow-yaml:
  name: Workflow YAML
  uses: surmado/.github/.github/workflows/workflow-yaml-format.yml@main

This delegates formatting policy to the shared org workflow rather than duplicating it locally, matching the prescribed pattern.

Summary

This PR adds the shared .github/ YAML-format check as an independent job in the repository CI workflow. The existing test job and its matrix are unchanged.

Reviewer: the only meaningful dependency is that surmado/.github#168 must merge first so the referenced reusable workflow exists; the documented sequencing and CI rerun cover that.

What to pay attention to

  • .github/workflows/ci.yml: After the upstream workflow reaches surmado/.github main, confirm the reusable workflow resolves and the new Workflow YAML job passes on this repository’s current .github/ files.

Things I noticed

No merge-blocking issues visible in the diff.

Good patterns

  • Uses the org-owned reusable workflow, keeping the Prettier invocation and formatting rules consistent across repositories.
  • Keeps YAML validation independent from the test job, so workflow-format failures remain clear and do not alter test execution.

Surmado Code Review (v1.5-mt) — internal tenant (plan internal: metered, never gated).

This review: #2 on c1096fb · org docs ✓ 28.9K chars · README ✓ 10.4K chars · org-RAG 8 chunks · standards ✓ 41.4K chars · models gpt-5.6-terra (effort high) · $0.05 · PR total $0.11.

@chasehallahan

Copy link
Copy Markdown
Collaborator Author

Closing: this repo is public, so it can't call the internal surmado/.github workflow, and CI fails before any job starts. Its YAML is already 2-space Prettier format, so nothing else is needed here.

@chasehallahan
Chase Hallahan (chasehallahan) deleted the chore/workflow-yaml-format branch November 2, 2026 18:28
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