Files
Willie 031c33c1b1 ci(test): skip the duplicate push run for release commits (#319)
Merging a Release PR ran the full Test suite twice on the same commit:
once for the push to main, and once from Release Please, which calls
Test with the exact merge SHA before tagging. Skip the push run for
chore(main): release commits; the release gate still runs every job.

The Release PR's own runs stay, because their matrix checks are
required by branch protection, and a skipped matrix job never reports
its per-OS check names, which would block the merge.

A newer push to a pull request now cancels that pull request's running
tests instead of finishing a superseded run.

Validation: actionlint v1.7.12 on all workflows, and a simulation of
every job's condition for push, release gate, pull request, fork pull
request and schedule events against the current workflow.
2026-10-02 03:57:06 +08:00
..