Run CI on pull requests as well as main #3
Loading…
Reference in a new issue
No description provided.
Delete branch "ai-agent/ci-on-pull-requests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Agents can only open pull requests through AGit, which never fires
push, so CI never saw their changes before merge; #1 and #2 have no runs at all.CI now runs on every pull request and on main, on the host runner like ha-power-manager: clippy with warnings as errors, the test suite, statix,
nix flake check, and a full build of the package.Adding that build showed
nix buildwas broken on main: naersk's own cargo 1.87 rejects the let-chains the code uses. naersk now follows the flake's nixpkgs, whose pin is unchanged.This PR's own run uses main's old push-only workflow, so the first real run is on merge. I validated the file with
forgejo-runner validateand ran each job's commands locally.