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

* bot template

* catch error
This commit is contained in:
Justin Newberry
2024-01-16 21:23:33 -05:00
committed by GitHub
parent 1bf8e04f54
commit 49586fc30e

View File

@@ -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");
});
}