mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-05 04:11:26 +08:00
chore: change noroute label name
This commit is contained in:
@@ -90,7 +90,7 @@ module.exports = async ({ github, context, core }, body, number, sender) => {
|
|||||||
if (res.length && res[0] === 'NOROUTE') {
|
if (res.length && res[0] === 'NOROUTE') {
|
||||||
core.info('PR stated no route, passing');
|
core.info('PR stated no route, passing');
|
||||||
await removeLabel();
|
await removeLabel();
|
||||||
await addLabels(['Auto: No Route Needed']);
|
await addLabels(['Auto: Route Test Skipped']);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
} else if (res.length && !res.some((e) => e.includes('/:'))) {
|
} else if (res.length && !res.some((e) => e.includes('/:'))) {
|
||||||
|
|||||||
Reference in New Issue
Block a user