Skip to content

Commit

Permalink
fail RC when not approved
Browse files Browse the repository at this point in the history
  • Loading branch information
arcticfalcon committed Jul 27, 2023
1 parent c4aaa66 commit ae1444d
Show file tree
Hide file tree
Showing 2 changed files with 3,657 additions and 3,792 deletions.
5 changes: 4 additions & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ async function run() {
approved = true
}
}
core.info(`approved: ${approved}`)
if(!approved) {
core.setFailed('An approval is required to generate a release candidate.');
return
}

await createTag(pr)
}
Expand Down
Loading

0 comments on commit ae1444d

Please sign in to comment.