Skip to content

Commit

Permalink
Merge pull request #46550 from ikevin127/fix/proposal-police-notifica…
Browse files Browse the repository at this point in the history
…tions

[NoQA] FIX / ProposalPolice™ GH Actions Workflow - Graceful Fail (Solves Notifications on Fail Issue)
  • Loading branch information
marcochavezf authored Aug 1, 2024
2 parents e36fcce + 2abbb6f commit b0ca6ad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/actions/javascript/proposalPoliceComment/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18061,7 +18061,9 @@ async function run() {
}
run().catch((error) => {
console.error(error);
process.exit(1);
// Zero status ensures that the action is marked as successful regardless the outcome
// which means that no failure notification is sent to issue's subscribers
process.exit(0);
});


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,7 @@ async function run() {

run().catch((error) => {
console.error(error);
process.exit(1);
// Zero status ensures that the action is marked as successful regardless the outcome
// which means that no failure notification is sent to issue's subscribers
process.exit(0);
});

0 comments on commit b0ca6ad

Please sign in to comment.