We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2cbb8b commit 9dcf634Copy full SHA for 9dcf634
src/main.ts
@@ -21,11 +21,12 @@ export async function run(): Promise<void> {
21
return
22
}
23
24
+ // prettier-ignore
25
if (
- (await client.checkOrgMembership(orgs)) ||
26
- client.isExcludedLogin(loginsToIgnore)
+ (await client.checkOrgMembership(orgs) ||
27
+ (client.isExcludedLogin(loginsToIgnore) && !client.hasLabel(labelName)))
28
) {
- core.info("Looks like this issue doesn't need labeling! 👍")
29
+ core.setFailed('The PR does not have any labels, please add the labels!')
30
31
32
0 commit comments