mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 17:18:38 +00:00
conflict-label.yml (#155) started a run on every push to every pull request through pull_request_target. On this repository that queued 265 runs within a day, some waiting five hours, in the same runner queue as CI, No Game Data and Runtime, whose oldest queued run waited six hours. Drop the pull_request_target trigger and put every run in one concurrency group. Each run already checks every open pull request, so a push to main and the hourly schedule cover what the per-PR runs did; a rebased pull request loses the label within the hour instead of at once. At most one run waits at a time. The workflow also no longer has a trigger that hands a fork's pull request a write token. tests/test_pr_conflict_label.py fails on the old workflow and checks that no pull request trigger, per-PR group or --pr comes back; the tool's docstring and CONTRIBUTING.md say what runs it now.