ci: skip AGit pull requests on test jobs #4
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
public/devenv-generator!4
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