ci: run on the docker runner and skip AGit pull requests #6

Merged
maximus merged 1 commit from ci/agit-guard into main 2026-11-22 10:34:28 +00:00
Member

Test jobs now run only for branch PRs: github.event_name != 'pull_request' || (head.repo.full_name == github.repository && pull_request.flow == 0). An AGit PR (flow 1) has head repo == base repo, so the fork check alone let it reach the shared runner. flow is part of Forgejo's pull request payload (modules/structs/pull.go, json:"flow"; 0 = branch, 1 = AGit); on workflow_dispatch the first clause short-circuits.

Also moves the test job from the rpi5 self-hosted runner to the instance-wide docker runner (spl-vm06) in the pinned catthehacker/ubuntu:act-latest container, as kal does.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XMf4EHDsxSUaKJC2q1H41t

Test jobs now run only for branch PRs: `github.event_name != 'pull_request' || (head.repo.full_name == github.repository && pull_request.flow == 0)`. An AGit PR (flow 1) has head repo == base repo, so the fork check alone let it reach the shared runner. `flow` is part of Forgejo's pull request payload (`modules/structs/pull.go`, `json:"flow"`; 0 = branch, 1 = AGit); on workflow_dispatch the first clause short-circuits. Also moves the test job from the rpi5 `self-hosted` runner to the instance-wide `docker` runner (spl-vm06) in the pinned `catthehacker/ubuntu:act-latest` container, as kal does. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01XMf4EHDsxSUaKJC2q1H41t
ci: run on the homelab docker runner and skip AGit pull requests
All checks were successful
check / check (pull_request) Successful in 19s
6a4c9d9c45
Test jobs move from the rpi5 self-hosted runner to the instance-wide docker runner (spl-vm06) in the pinned act container, like kal. An AGit PR (flow 1) has head repo == base repo, so the fork check alone lets it through; jobs now also require flow == 0 (branch PR).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01XMf4EHDsxSUaKJC2q1H41t
maximus deleted branch ci/agit-guard 2026-11-22 10:34:28 +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/ktui!6
No description provided.