Skip to content

Commit ef4d594

Browse files
committed
fix: add completed_at and remove stale from valid conclusions
1 parent 530dc9b commit ef4d594

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/VCS/Adapter/Git/GitHub.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ public function updateCommitStatus(string $repositoryName, string $commitHash, s
874874

875875
/**
876876
* Creates a completed check run for a commit.
877-
* conclusion can be one of: action_required, cancelled, failure, neutral, success, skipped, stale, timed_out
877+
* conclusion can be one of: action_required, cancelled, failure, neutral, success, skipped, timed_out
878878
*/
879879
public function createCheckRun(string $owner, string $repositoryName, string $headSha, string $name, string $conclusion, string $title, string $summary): void
880880
{
@@ -885,6 +885,7 @@ public function createCheckRun(string $owner, string $repositoryName, string $he
885885
'head_sha' => $headSha,
886886
'status' => 'completed',
887887
'conclusion' => $conclusion,
888+
'completed_at' => date('Y-m-d\TH:i:s\Z'),
888889
'output' => [
889890
'title' => $title,
890891
'summary' => $summary,

0 commit comments

Comments
 (0)