mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-03-04 13:43:53 +08:00
CI: auto_pr_review fix error when label doesn't exist (#31030)
* bot template * catch error
This commit is contained in:
2
.github/workflows/auto_pr_review.yaml
vendored
2
.github/workflows/auto_pr_review.yaml
vendored
@@ -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");
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user