ci: a cancelled GitHub run no longer reports failure to Gitea #7

Merged
jcoffey-dev merged 1 commits from fix/ci-report-cancelled into main 2026-09-30 07:29:20 +00:00
Owner

The mirror can push one commit twice within a second. GitHub starts two runs and cancels the older; that run's report job posted failure, and Gitea's github job failed the check before the surviving run passed (seen on ihasmail #17).

A cancelled run now posts nothing and leaves the result to the run that superseded it. Failures still report failure; tag runs are never cancelled.

The mirror can push one commit twice within a second. GitHub starts two runs and cancels the older; that run's `report` job posted **failure**, and Gitea's `github` job failed the check before the surviving run passed (seen on ihasmail #17). A cancelled run now posts nothing and leaves the result to the run that superseded it. Failures still report failure; tag runs are never cancelled.
jcoffey-dev added 1 commit 2026-09-30 07:27:02 +00:00
ci: a cancelled GitHub run no longer reports failure to Gitea
github/ci (branch) GitHub Actions
ci / shellcheck (pull_request) Skipped
ci / github (pull_request) Successful in 21s
ae41717f96
The mirror can push one commit twice in quick succession. GitHub then
starts two runs and cancels the older, and that run's report job posted
"failure" for the commit. Gitea's github job, seeing the newest status,
failed the check while the surviving run was still building and later
passed.

A cancelled run now posts nothing and leaves the result to the run that
superseded it. A real failure still reports failure.
jcoffey-dev merged commit fd748c90cb into main 2026-09-30 07:29:20 +00:00
jcoffey-dev deleted branch fix/ci-report-cancelled 2026-09-30 07:29:21 +00:00
Sign in to join this conversation.