ci: add PR check suite (CI + CodeQL + Dependabot)#11
Merged
Conversation
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
loop2zero
added a commit
to loop2zero/DevLog
that referenced
this pull request
Jun 11, 2026
#1) Chained subtasks merge remotely while the local default branch never advances, so each new worktree was cut from a stale base and every PR in the chain conflicted (ARC-104 PR moose-lab#10, ARC-105 PR moose-lab#11). createWorktree now fetches origin/<baseBranch> and bases the new branch on the remote tip via resolveWorktreeBase; when the fetch fails (offline or no remote) it logs a warning and degrades to the local branch so dispatch is never blocked. createWorktreeAt is the repo-root-level core, extracted so tests can run against a temp repo with a local bare remote. ARC-108 Co-authored-by: Claude Fable 5 <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.
What
Introduces the initial CI/CD check suite for pull requests.
Workflows
CI job
Checkout → setup Bun `1.3.14` → setup Node `20` → `bun install --frozen-lockfile` → `typecheck` → `test` → `next build` → `tsup` (CLI build). Sequential single job to amortize the `bun install` cost (native deps: `better-sqlite3`, `node-pty`). Concurrency group cancels superseded runs on the same ref.
CodeQL
`javascript-typescript` with `security-and-quality` query suite, Monday 06:00 UTC cron.
Dependabot
Weekly npm + github-actions updates, minor/patch grouped per ecosystem, max 5 open PRs each, assigned to @moose-lab.
Follow-up after merge
Branch protection on `main` will be applied separately so the required-check contexts (`CI`, `CodeQL`) have been observed at least once on the default branch first.
Protection settings to be applied: