Repository navigation
CI: lint the brain with the gbrain-company-brain action - #9
Merged
Merged
Conversation
Adds a fourth check, 'Company brain lint', that runs mattzimak/gbrain-company-brain@v0.2.0 on the repository root. It applies the same rules the skillpack runs before a gbrain sync and annotates the pull request on the file that broke. Local run on main: 7 pages, 0 errors, 1 warning (FACTSHEET.md has no frontmatter, by design). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The new brain lint job flagged it: without frontmatter gbrain syncs the runbook as an untyped page. gbrain's skillpack doctor only requires the file to be non-empty and prints it as is, so frontmatter is safe there. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Feature
Every pull request to this template now runs the company-brain linter from gbrain-company-brain v0.2.0. A page in the wrong folder, a type the schema pack does not declare, an undated decision or a wikilink gbrain would drop shows up as an annotation on the file that broke it. Repositories created from this template inherit the check.
Workflow
New job
brain-lint("Company brain lint") in.github/workflows/validate.yml, next to frontmatter, secrets and links. Errors fail the job; warnings annotate without failing.Technical
uses: mattzimak/gbrain-company-brain@v0.2.0withpath: .(composite action: setup-bun, thenlint --format github).contents: read.7 pages, 0 errors, 1 warnings(FACTSHEET.md has no frontmatter, which is by design and only a warning).🤖 Generated with Claude Code