From 7266882201975b7825cd042009433f9f2db05faa Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sun, 27 Jun 2021 12:55:06 -0400 Subject: [PATCH] workflows: Change not_on_github label to "not on github" Signed-off-by: Kevin O'Connor --- .github/workflows/close-invalid-bot.yaml | 6 +++--- .github/workflows/invalid-label-bot.yaml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/close-invalid-bot.yaml b/.github/workflows/close-invalid-bot.yaml index f1286011..bec78b4e 100644 --- a/.github/workflows/close-invalid-bot.yaml +++ b/.github/workflows/close-invalid-bot.yaml @@ -1,5 +1,5 @@ -# Close issues marked as not_on_github -name: "Close issues marked as not_on_github" +# Close issues marked as "not on github" +name: "Close issues marked as 'not on github'" on: schedule: - cron: '0 */6 * * *' @@ -14,7 +14,7 @@ jobs: owner: context.repo.owner, repo: context.repo.repo, state: 'open', - labels: 'not_on_github', + labels: 'not on github', per_page: 100, page: 1 }); diff --git a/.github/workflows/invalid-label-bot.yaml b/.github/workflows/invalid-label-bot.yaml index b9ce8eb9..7cd11bdb 100644 --- a/.github/workflows/invalid-label-bot.yaml +++ b/.github/workflows/invalid-label-bot.yaml @@ -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)."