Files
oh-my-claudecode/.github
Ethan Stark f8b4224029 chore: enforce dev base branch and gitignore build artifacts (#2108)
* chore: enforce dev base branch and gitignore build artifacts

Two recurring contributor mistakes are now blocked at the tooling layer:

1. PRs targeting main instead of dev — the new `base-branch-check` job in
   pr-check.yml fails CI immediately with a one-line fix command.

2. dist/ and bridge/ build artifacts in PRs — added to .gitignore so they
   no longer appear as uncommitted changes after `npm run build`.

.github/CLAUDE.md also documents both rules so AI-assisted contributors
pick them up at session start, before they can make the mistake.

Directive: dist/ and bridge/ are generated by `npm run build` — never commit them.
Directive: all PRs must target `dev`; `main` is merged into by release workflow only.

* fix(ci): rerun base-branch-check on PR base edits

Add `edited` to the pull_request event types so the base-branch-check
job fires when a contributor changes their PR base via gh pr edit --base dev,
preventing stale failed statuses after the fix is applied.

Confidence: high
Scope-risk: narrow
2026-04-03 17:58:27 +09:00
..
2026-01-27 07:48:34 +00:00