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

* bot template

* catch error
old-commit-hash: 49586fc30e8f1b70b9bda4bdb4c682d414a635fc
This commit is contained in:
Justin Newberry
2024-01-16 21:23:33 -05:00
committed by GitHub
parent 46dc9366e1
commit 1b56fa2b56
+2
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");
});
}