Skip to content

Commit

Permalink
Duplicate the check run even if we need to re-run the tests
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Orive <[email protected]>
  • Loading branch information
Adirio committed Nov 19, 2020
1 parent 52659fd commit b4287f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion verify/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,9 @@ func (p PRPlugin) onSync(env *ActionsEnv) error {
// Rerun the tests if they weren't finished
if !Finished.Equal(checkRun.GetStatus()) {
// Process the PR and submit the results
return p.processAndSubmit(env, checkRun)
if err = p.processAndSubmit(env, checkRun); err != nil {
return err
}
}

// Create a duplicate for the new commit
Expand Down

0 comments on commit b4287f5

Please sign in to comment.