Skip to content

Commit

Permalink
fix: skipped runs are not a failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmad Nassri authored May 13, 2021
1 parent e53f494 commit b26a456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default async function ({ token, delay, timeout, sha, ignore }) {
process.exit(0)
}

const successful = ['success']
const successful = ['success', 'skipped']
if (ignore) successful.push('cancelled')

while (result.find(run => !successful.includes(run.conclusion))) {
Expand Down

0 comments on commit b26a456

Please sign in to comment.