Skip to content

ci(nightly-testing): link the failing commit in the failure message - #939

Merged
SamuelSchlesinger merged 1 commit into
leanprover:mainfrom
jessealama:ci/report-failures-head-sha
Sep 23, 2026
Merged

SamuelSchlesinger merged 1 commit into
leanprover:mainfrom
jessealama:ci/report-failures-head-sha

Conversation

@jessealama

Copy link
Copy Markdown
Contributor

On a workflow_run event, github.sha is the head of the default branch, not the commit whose CI run failed. The failure message posted to Zulip therefore linked the wrong commit. Use github.event.workflow_run.head_sha instead, matching the run link, which already uses workflow_run.id.

Pointed out by @kim-em in #914.

On a `workflow_run` event, `github.sha` is the head of the default branch,
not the commit whose CI run failed. Use `github.event.workflow_run.head_sha`
so the failure message links to the `nightly-testing` commit that actually
failed, matching the run link, which already uses `workflow_run.id`.
@SamuelSchlesinger
SamuelSchlesinger added this pull request to the merge queue Sep 23, 2026
Merged via the queue into leanprover:main with commit 381dd51 Sep 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants