ci: also run CI on pull requests #82

Merged
jmz merged 3 commits from ci/pr-only into main 2026-11-22 10:24:27 +00:00
Member

The merge train is moving from push mode to PR mode, and PR-mode rungs need the CI workflow to fire on pull_request. The push trigger and branch protection stay as they are until the train switches over; a follow-up removes the push trigger. A concurrency group cancels superseded PR runs only (push runs are never cancelled).

🤖 Generated with Claude Code

https://claude.ai/code/session_01XMf4EHDsxSUaKJC2q1H41t

The merge train is moving from push mode to PR mode, and PR-mode rungs need the CI workflow to fire on pull_request. The push trigger and branch protection stay as they are until the train switches over; a follow-up removes the push trigger. A concurrency group cancels superseded PR runs only (push runs are never cancelled). 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01XMf4EHDsxSUaKJC2q1H41t
ci: also run CI on pull requests
Some checks failed
CI / go (pull_request) Has been cancelled
CI / web (pull_request) Has been cancelled
CI / web (push) Successful in 2m12s
CI / go (push) Successful in 17m0s
32895d26bd
The merge train is moving from push mode to PR mode, and PR-mode rungs need the CI workflow to fire on pull_request. The push trigger stays until the train switches over. A concurrency group is added so a new push to a PR cancels its superseded run; push runs are never cancelled, to keep the train's push-mode contexts intact.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01XMf4EHDsxSUaKJC2q1H41t
ci: skip test jobs on fork pull requests
All checks were successful
CI / web (push) Successful in 1m15s
CI / web (pull_request) Successful in 1m10s
CI / go (push) Successful in 14m55s
CI / go (pull_request) Successful in 15m5s
12d13cdada
Self-hosted runners sit on the homelab network, so a pull_request run from a fork would execute outside code there. Test jobs now run only for same-repository PRs (and non-PR events such as workflow_dispatch); merge-train rung PRs are same-repository and still run.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01XMf4EHDsxSUaKJC2q1H41t
ci: also skip AGit pull requests on test jobs
All checks were successful
CI / web (pull_request) Successful in 2m13s
CI / go (pull_request) Successful in 16m54s
CI / web (push) Successful in 1m35s
CI / go (push) Successful in 16m49s
0bd62048ca
An AGit PR (flow 1) has head repo == base repo, so the fork check alone lets it through to the shared runner. Test jobs now also require pull_request.flow == 0 (branch PR); non-PR events short-circuit before the expression is read.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01XMf4EHDsxSUaKJC2q1H41t
jmz merged commit 0bd62048ca into main 2026-11-22 10:24:27 +00:00
jmz deleted branch ci/pr-only 2026-11-22 10:24:27 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
public/wanderer!82
No description provided.