Repository navigation
tests.yml: the actionlint step lints itself and the family template's workflow too, not only the assembly-root one (#127) - #129
Conversation
… workflow too, not only the assembly-root one (#127) The step that installs actionlint ran it against exactly one file -- templates/assembly-root/.github/workflows/validate.yml, the workflow this repository ships into a scaffolded project. templates/family-root's own validate.yml was in the same boat, and neither lint ever touched .github/workflows/tests.yml itself: the workflow that runs on every push and pull request here. #122/#124 just added an `if:` guard on two jobs and a `concurrency:` expression to that file, with nothing in the loop that would have caught a typo in either. Hand actionlint all three paths from the one step it already runs from, and rename it to say so. actionlint 1.7.12 finds nothing to fix in any of the three files as they stand. Lane: openreposhape-2 (openRepoShape-2) Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
@codex review |
There was a problem hiding this comment.
Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days.
You can request another review in 2 days and 17 hours by commenting @sourcery-ai review. Upgrade to get a review now.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Reviewer's guide (collapsed on small PRs)Reviewer's GuideUpdates the CI workflow’s actionlint step to lint the repository workflow itself and both shipped template workflows, closing validation gaps without modifying template files or other CI behavior. File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
There was a problem hiding this comment.
🟢 Approval recommended
No unresolved issues were identified.
Pull request overview
Expands CI actionlint coverage to validate the repository workflow and both shipped workflow templates.
Changes:
- Adds
tests.ymland the family-root workflow to actionlint inputs. - Updates the step name and documentation.
File summaries
| File | Description |
|---|---|
.github/workflows/tests.yml |
Expands actionlint coverage to all three relevant workflows. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.



Lane: openreposhape-2 (openRepoShape-2)
Claim: #127 (comment)
Closes #127.
What was wrong
.github/workflows/tests.ymlinstalls actionlint and then runs it againstexactly one file:
templates/assembly-root/.github/workflows/validate.yml,the workflow this repository ships into a scaffolded project. Nothing
linted
templates/family-root/.github/workflows/validate.yml(the samekind of shipped-out workflow, for a family holder instead of a project), and
nothing linted
tests.ymlitself — the workflow that runs on every pushand pull request in this repository. PR #124 (issue #122) had just added an
if:guard on two jobs and aconcurrency:expression totests.yml,with no lint anywhere in the loop that would have caught a typo in either.
What landed
The existing actionlint step now takes three paths instead of one:
.github/workflows/tests.yml,templates/assembly-root/.github/workflows/validate.ymlandtemplates/family-root/.github/workflows/validate.yml. Renamed the stepand its comment to say it covers the workflow nobody here runs and the ones
everybody here runs. No file under
templates/was touched — only.github/workflows/tests.yml, which is not one of the digest-pinnedcopies listed in the shared brief.
How it was proven
does (checksum-verified release tarball), into a scratchpad, and ran it
against all three paths the new step runs: exit 0, no findings,
including against
tests.ymlitself as amended in this PR. So the newstep does not need to fix anything to land green.
python3 -c "import yaml; yaml.safe_load(open('.github/workflows/tests.yml'))"— parses.
tests/for anything asserting on the actionlint step's name oron
tests.yml's job list: three files mentiontests.ymlin prose(
test_repo_hygiene.py,test_scaffold_e2e.py,test_cli_reference.py)but none assert on the actionlint step's name or count, so nothing else
needed updating.
tests/test_[a-m]*.py→ 366 passed, 1 skipped;tests/test_[n-z]*.py→ 766 passed. 1132 passed / 1 skipped total,matching the brief's expectation for current
main.🤖 Generated with Claude Code
Summary by Sourcery
Ensure actionlint checks the repository workflow alongside both scaffolded workflows.
Enhancements:
CI: