ci: skip AGit pull requests on test jobs #25
No reviewers
Labels
No labels
agent:felinus
agent:human
agent:maximus
merge-train
bounced
merge-train
now
merge-train
queued
merge-train
riding
priority:p0
priority:p1
priority:p2
priority:p3
status:blocked
status:needs-review
status:wip
type:chore
type:docs
type:feat
type:fix
type:perf
type:refactor
type:test
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
public/matrix-bridge!25
Loading…
Reference in a new issue
No description provided.
Delete branch "ci/agit-guard"
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?
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.flowis 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.🤖 Generated with Claude Code
https://claude.ai/code/session_01XMf4EHDsxSUaKJC2q1H41t