ci: run the plugin build as a PR gate instead of on pushes to main #2

Merged
maximus merged 2 commits from ci/pr-gate into main 2026-11-25 13:45:34 +00:00
Member

Merge-queue rollout (step 3, group B): build.yml becomes the PR test gate so main can require it and the repo can join the merge-train queue.

  • Triggers: pull_request + workflow_dispatch (was: push to main + dispatch). Per the CI standard, no runs on main: it is ff-only and blocks outdated branches, so the PR run tested the merged tree.
  • Fork/AGit guard on the job (public repo: fork and AGit PRs never run on the homelab runner), per-PR concurrency group.
  • Steps unchanged: gofmt, make build, make package, make hostcheck, artifact upload.
  • README's CI paragraph updated.

After merge, main requires Build plugins / build (pull_request).

🤖 Generated with Claude Code

https://claude.ai/code/session_01XMf4EHDsxSUaKJC2q1H41t

Merge-queue rollout (step 3, group B): `build.yml` becomes the PR test gate so `main` can require it and the repo can join the merge-train queue. - Triggers: `pull_request` + `workflow_dispatch` (was: push to `main` + dispatch). Per the CI standard, no runs on `main`: it is ff-only and blocks outdated branches, so the PR run tested the merged tree. - Fork/AGit guard on the job (public repo: fork and AGit PRs never run on the homelab runner), per-PR concurrency group. - Steps unchanged: gofmt, `make build`, `make package`, `make hostcheck`, artifact upload. - README's CI paragraph updated. After merge, `main` requires `Build plugins / build (pull_request)`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01XMf4EHDsxSUaKJC2q1H41t
ci: run the plugin build as a PR gate instead of on pushes to main
All checks were successful
Build plugins / build (pull_request) Successful in 1m23s
f99bb9d072
build.yml now runs on pull_request (+ dispatch) with the fork/AGit guard and
a per-PR concurrency group, and no longer on pushes to main (the PR run
already tested the fast-forwarded tree). It becomes the required check for
the merge queue.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01XMf4EHDsxSUaKJC2q1H41t
ci: keep the job token out of the checkout
All checks were successful
Build plugins / build (pull_request) Successful in 2m46s
71806ee301
Public repo: the checkout fetches without credentials (shell git) or with
persist-credentials: false (actions/checkout), so the PR code that runs
later in the job (build scripts, tests) cannot read a token from
.git/config.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01XMf4EHDsxSUaKJC2q1H41t
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-plugins!2
No description provided.