chore(ci): drop redundant push trigger; add concurrency group #172
No reviewers
Labels
No labels
autopilot:pending-human
source:analyste
source:defenseur
source:human
source:medic
status:approved
status:blocked
status:in-progress
status:needs-clarification
status:needs-fix
status:ready
status:review
status:triage
type:bug
type:feature
type:infra
type:refactor
type:schema
type:security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: maximus/Simpl-Resultat#172
Loading…
Reference in a new issue
No description provided.
Delete branch "issue-171-ci-drop-push-trigger"
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?
Summary
Drops the redundant
pushtrigger from both CI workflows. PR #170 was running 4 jobs (rust+frontend × push+pull_request) instead of 2. Keeps onlypull_request: branches: [main]and adds aconcurrencygroup so force-pushes cancel obsolete runs instead of stacking.Changes
.forgejo/workflows/check.yml— dropon.push, addconcurrencygroup, refresh comment..github/workflows/check.yml— same change to keep the GitHub mirror in sync.Trade-off
Branches pushed without an open PR no longer trigger CI.
/fix-issueopens a PR right after pushing, so in practice the gap is seconds. Anyone who wants CI feedback before requesting review can open a draft PR.Test plan
This very PR is the smoke test:
PR Check / rust (pull_request),PR Check / frontend (pull_request)) — not 4.Acceptance criteria from #171
on.pushblock in.forgejo/workflows/check.ymlconcurrencygroup withcancel-in-progress: true.github/workflows/check.yml(mirror)Fixes #171