workflows: Change not_on_github label to "not on github"
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
6
.github/workflows/invalid-label-bot.yaml
vendored
6
.github/workflows/invalid-label-bot.yaml
vendored
@@ -1,5 +1,5 @@
|
||||
# Add a comment to github issues marked with the not_on_github label
|
||||
name: "Add comment to issues marked not_on_github"
|
||||
# Add a comment to github issues marked with the "not on github" label
|
||||
name: "Add comment to issues marked 'not on github'"
|
||||
on:
|
||||
issues:
|
||||
types: [labeled]
|
||||
@@ -11,7 +11,7 @@ jobs:
|
||||
with:
|
||||
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||
script: |
|
||||
if (context.payload.label.name != "not_on_github")
|
||||
if (context.payload.label.name != "not on github")
|
||||
return;
|
||||
msg = "It looks like this ticket is a request for help"
|
||||
+ " (or similar)."
|
||||
|
||||
Reference in New Issue
Block a user