You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actions submit CheckRuns for different checks. Those CheckRuns owned by a commit, not by a PR. Therefore, when a new commit gets (force-)pushed, the CheckRuns that reports the result of this action is lost.
Could we retrieve the previous CheckRuns from the old commit on: pull-request: [synchronize] and push them to the new commit? I think the hard part here will be knowing the sha of the commit that holded the previous checks.
In this case the pseudo code would be:
on: pull-request: open
- create CheckRun with "in_progress" status
- perform the checks
- update CheckRun with results
on: pull-request: edit
- update CheckRun with "in_progress" status
- perform the checks
- update CheckRun with results
on: pull-request: synchronize
- find the previous commit hash
- create CheckRun with same result as CheckRun @ previous commit
The text was updated successfully, but these errors were encountered:
Actions submit
CheckRun
s for different checks. ThoseCheckRun
s owned by a commit, not by a PR. Therefore, when a new commit gets (force-)pushed, theCheckRun
s that reports the result of this action is lost.Could we retrieve the previous
CheckRun
s from the old commiton: pull-request: [synchronize]
and push them to the new commit? I think the hard part here will be knowing the sha of the commit that holded the previous checks.In this case the pseudo code would be:
The text was updated successfully, but these errors were encountered: