CI: build branches through their pull request only #69

Merged
jared merged 2 commits from ci-triggers into main 2026-11-23 02:16:44 -05:00
Owner

Until now, every PR branch ran the whole pipeline twice: once for the push and once for the pull request. That doubled the queue on our single Linux runner, and tonight runs sat for 20 to 40 minutes.

  • push now only triggers on main, which builds and deploys as before. Branches are built through their pull request.
  • Branch protection on main now requires the (pull_request) checks; I switched it before opening this PR, and #68 showed both sets pass. The README is updated.
  • The weekly scheduled audit and the main deploy flow are unchanged.

actionlint and zizmor are clean.

🤖 Generated with Claude Code

Until now, every PR branch ran the whole pipeline twice: once for the push and once for the pull request. That doubled the queue on our single Linux runner, and tonight runs sat for 20 to 40 minutes. - `push` now only triggers on `main`, which builds and deploys as before. Branches are built through their pull request. - Branch protection on `main` now requires the `(pull_request)` checks; I switched it before opening this PR, and #68 showed both sets pass. The README is updated. - The weekly scheduled audit and the `main` deploy flow are unchanged. actionlint and zizmor are clean. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
jared added 1 commit 2026-11-23 01:58:45 -05:00
CI: build branches through their pull request only; pushes build main
CI / Lint (eslint) (pull_request) Successful in 17s
CI / Test (jest) (pull_request) Successful in 24s
CI / Security (npm audit) (pull_request) Successful in 51s
CI / UI (playwright) (pull_request) Failing after 1m32s
CI / UI screenshots (before/after) (pull_request) Successful in 8s
CI / Integration (api) (pull_request) Successful in 3m59s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 2m18s
CI / Deploy (pull_request) Skipped
CI / Deploy worker (pull_request) Skipped
CI / Notify (pull_request) Skipped
f140b380fb
Every PR branch ran the whole pipeline twice (push and pull_request),
doubling the runner queue. Required checks move to the (pull_request)
contexts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jared added 1 commit 2026-11-23 02:10:24 -05:00
CI: mariadb.sh avoids the unreachable Azure apt mirror and retries apt
CI / Test (jest) (pull_request) Successful in 27s
CI / Lint (eslint) (pull_request) Successful in 29s
CI / Security (npm audit) (pull_request) Successful in 24s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 3m7s
CI / Integration (api) (pull_request) Successful in 4m4s
CI / UI screenshots (before/after) (pull_request) Successful in 11s
CI / UI (playwright) (pull_request) Successful in 2m2s
CI / Deploy (pull_request) Skipped
CI / Deploy worker (pull_request) Skipped
CI / Notify (pull_request) Skipped
61991841aa
The Playwright image's apt sources point at azure.archive.ubuntu.com, which
timed out from the runner after it moved nodes; the UI job failed at Start
MariaDB twice. Switch to archive.ubuntu.com and retry apt up to 3 times.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jared merged commit 7a01c28e06 into main 2026-11-23 02:16:44 -05:00
jared deleted branch ci-triggers 2026-11-23 02:16:45 -05:00
Sign in to join this conversation.