chore: merge main into deploy (CI pull_request trigger) #83

Merged
maximus merged 4 commits from ci/pr-trigger-deploy into deploy 2026-11-22 10:55:22 +00:00
Member

Merges main (0bd62048) into deploy per the documented flow (main -> deploy by merge commit, as #55; do not squash or rebase).

Net effect on deploy: .forgejo/workflows/ci.yml gains a pull_request trigger, a concurrency group (cancels superseded PR runs only), and the fork + AGit guard on the go and web jobs (#82). Nothing else differs between main and deploy except deploy-only files (image.yml).

Why now: step 1 of moving wanderer to the PR-only CI standard. The merge-train rungs for wanderer become PRs (trigger "pr") and need CI to fire on pull_request. The push trigger and branch protection stay until the train is switched; follow-ups: nixos-hosts train config, then a PR dropping the push trigger, then required contexts -> (pull_request).

Note: this branch's own CI runs twice (push + pull_request) because deploy still has the push trigger.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XMf4EHDsxSUaKJC2q1H41t

Merges `main` (0bd62048) into `deploy` per the documented flow (main -> deploy by merge commit, as #55; do not squash or rebase). Net effect on deploy: `.forgejo/workflows/ci.yml` gains a `pull_request` trigger, a concurrency group (cancels superseded PR runs only), and the fork + AGit guard on the `go` and `web` jobs (#82). Nothing else differs between main and deploy except deploy-only files (image.yml). Why now: step 1 of moving wanderer to the PR-only CI standard. The merge-train rungs for wanderer become PRs (trigger "pr") and need CI to fire on pull_request. The push trigger and branch protection stay until the train is switched; follow-ups: nixos-hosts train config, then a PR dropping the push trigger, then required contexts -> (pull_request). Note: this branch's own CI runs twice (push + pull_request) because deploy still has the push trigger. 🤖 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
chore: merge main into deploy (CI pull_request trigger, fork+AGit guard)
All checks were successful
CI / web (pull_request) Successful in 1m19s
CI / go (pull_request) Successful in 17m23s
CI / web (push) Successful in 1m30s
CI / go (push) Successful in 18m24s
558c4cc6bb
Brings main's ci.yml changes (#82) onto deploy so the merge-train can run
its rung PRs in PR mode. Merge commit, not squashed, as with #55.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01XMf4EHDsxSUaKJC2q1H41t
maximus merged commit 558c4cc6bb into deploy 2026-11-22 10:55:22 +00:00
maximus deleted branch ci/pr-trigger-deploy 2026-11-22 10:55:22 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
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!83
No description provided.