ci: run tests on PRs only #9

Merged
maximus merged 3 commits from ci/pr-only into main 2026-11-22 10:34:30 +00:00
Member

Main is fast-forward only and blocks outdated branches, so the merged tree is exactly the tree the PR tested; running the same tests on every branch push duplicates CI. The workflow now runs on pull_request (and workflow_dispatch) with a concurrency group, and every job skips PRs from forks, which replaces the old push-only protection of the self-hosted runner.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XMf4EHDsxSUaKJC2q1H41t

Main is fast-forward only and blocks outdated branches, so the merged tree is exactly the tree the PR tested; running the same tests on every branch push duplicates CI. The workflow now runs on pull_request (and workflow_dispatch) with a concurrency group, and every job skips PRs from forks, which replaces the old push-only protection of the self-hosted runner. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01XMf4EHDsxSUaKJC2q1H41t
ci: run tests on PRs only
Some checks failed
check / check (pull_request) Failing after 2m24s
fd6383521c
Main is fast-forward only and blocks outdated branches, so the merged tree is exactly the tree the PR tested; running the same tests on every branch push duplicates CI. The workflow now runs on pull_request (and workflow_dispatch) with a concurrency group, and every job skips PRs from forks, which replaces the old push-only protection of the self-hosted runner.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01XMf4EHDsxSUaKJC2q1H41t
tests/test_ci_workflow.py asserted the old push-only design (no pull_request
in the workflow), so pytest in the check job failed on this branch. It now
asserts pull_request + workflow_dispatch, no push, no pull_request_target, and
the fork guard.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01XMf4EHDsxSUaKJC2q1H41t
ci: also skip AGit pull requests
All checks were successful
check / check (pull_request) Successful in 1m18s
18692ca2d8
An AGit PR (flow 1) has head repo == base repo, so the fork check lets it
through. Jobs on the shared runner 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/pr-only 2026-11-22 10:34:30 +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/kal!9
No description provided.