Skip to content

Commit

Permalink
ci: only update comment when suite failed
Browse files Browse the repository at this point in the history
  • Loading branch information
9aoy committed Oct 16, 2024
1 parent 1fb4e6c commit 845b51e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ecosystem-ci-from-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,13 @@ jobs:
})
}
const allSuccess = result.every(r => r.conclusion === 'success');
if (allSuccess) {
// only update commit when suite failed
return;
}
const url = `${context.serverUrl}//${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}`
const urlLink = `[Open](${url})`
Expand Down

0 comments on commit 845b51e

Please sign in to comment.