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

* bot template

* catch error
pull/31027/head
Justin Newberry 1 year ago committed by GitHub
parent 1bf8e04f54
commit 49586fc30e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  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