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

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>
This commit is contained in:
jaredandClaude Opus 5.5 committed 2026-11-23 01:58:33 -05:00
1 parent 93b1422300
commit f140b380fb
2 files changed
+8 -4

No files matched your search

+4 -1
View File
@@ -3,9 +3,12 @@ name: CI
# One pipeline: lint, unit tests, audit, scans, integration and UI tests must all pass before main deploys (#45). # One pipeline: lint, unit tests, audit, scans, integration and UI tests must all pass before main deploys (#45).
# Actions are pinned to full commit SHAs (version in the trailing comment). # Actions are pinned to full commit SHAs (version in the trailing comment).
# Pushes build only main (which deploys); branches are built through their pull
# request. Building both pushes and pull requests of a branch ran every job twice and
# doubled the runner queue.
on: on:
push: push:
branches: ["**"] branches: [main]
pull_request: pull_request:
branches: ["**"] branches: ["**"]
schedule: schedule:
+4 -3
View File
@@ -596,9 +596,10 @@ Everything runs from `.gitea/workflows/ci.yml`:
| `Deploy` | Calls the `pulse-deploy` webhook on CT 122, waits until `/healthz` reports the tested commit, then tags it `deploy-*` | Push to `main`, only after all six checks pass | | `Deploy` | Calls the `pulse-deploy` webhook on CT 122, waits until `/healthz` reports the tested commit, then tags it `deploy-*` | Push to `main`, only after all six checks pass |
| `Notify` | Matrix alert on any failure on `main` or in the weekly audit, and on every deploy | As needed | | `Notify` | Matrix alert on any failure on `main` or in the weekly audit, and on every deploy | As needed |
Branch protection on `main` requires `CI / Lint (eslint) (push)`, `CI / Test (jest) (push)`, Branch protection on `main` requires `CI / Lint (eslint) (pull_request)`, `CI / Test (jest) (pull_request)`,
`CI / Security (npm audit) (push)`, `CI / Scan (secrets, workflows, shell) (push)`, `CI / Security (npm audit) (pull_request)`, `CI / Scan (secrets, workflows, shell) (pull_request)`,
`CI / Integration (api) (push)` and `CI / UI (playwright) (push)`. Actions are pinned to commit `CI / Integration (api) (pull_request)` and `CI / UI (playwright) (pull_request)` (branches are only
built through their pull request; pushes build `main`). Actions are pinned to commit
SHAs, container images to digests, checkouts don't keep the token, and builds use `npm ci`. The plan for the rest of the pipeline is tracked in #45. SHAs, container images to digests, checkouts don't keep the token, and builds use `npm ci`. The plan for the rest of the pipeline is tracked in #45.
### Integration tests ### Integration tests