ci: add TypeScript quality profile - #22
Draft
TheDanniCraft wants to merge 4 commits into
Draft
Conversation
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.
📝 Description
Adds an opt-in TypeScript quality profile to the organization baseline. The
profile is independent of Supabase and applies to Bun-based TypeScript or
JavaScript repositories that explicitly enroll in it.
The central profile owns Biome, TypeScript, Vitest, Fallow, editor settings,
the Code Quality workflow, and its required ruleset. A new Repository Profile
Bootstrap workflow first creates the package-and-lockfile pull request for a
chosen repository. It adds only missing profile values, stops on a conflicting
repository-owned value, and regenerates
bun.lockwith lifecycle scriptsdisabled. Once that PR is merged, normal baseline synchronization supplies the
remaining managed files and required check.
🧩 Type of Change
🗺️ Areas
🧪 Testing and Validation
🔐 Security, Compatibility, and Operations
The profile is opt-in. The bootstrap workflow uses the existing organization
GitHub App token only for the selected Payload Bay repository, refuses package
contract conflicts, and runs
bun install --lockfile-only --ignore-scripts.It does not execute repository lifecycle scripts. Fallow review comments use
the normal pull-request token and remain bounded to ten comments.
📋 Checklist
🤖 AI Usage
🛠️ How AI Was Used
🔎 AI Tools and Human Review
Codex assisted with the profile design and implementation. The resulting
configuration, synchronization logic, workflow, and tests were inspected
locally. The listed validation commands were run against the final worktree.
✅ AI Responsibility
💬 Additional Context
payloadbay/payloadbayis registered from the start, but its profile remainsinactive until the generated bootstrap PR has merged. Until then, baseline sync
reports the profile as waiting and does not apply its managed files or required
check. After merge, run baseline synchronization for
payloadbay; it appliesthe managed quality files before it adds the required status check.