CI: auto_pr_review fix error when label doesn't exist (#31030)

* bot template

* catch error
old-commit-hash: 49586fc30e
pull/32199/head
Justin Newberry 2 years ago committed by GitHub
parent 46dc9366e1
commit 1b56fa2b56
  1. 2
      .github/workflows/auto_pr_review.yaml

@ -193,6 +193,8 @@ jobs:
github.rest.issues.removeLabel({
...body_data,
name: "in-bot-review",
}).catch((error) => {
console.log("Label 'in-bot-review' not found, ignoring");
});
}

Loading…
Cancel
Save