diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2022-03-13 17:08:43 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2022-03-13 17:14:43 -0400 |
commit | 5e91c5de2838bae00510966fae2b1bea41addcc6 (patch) | |
tree | e3805b3ce577502a736d65a12f568bc82629d7b1 /.github/workflows | |
parent | 021459e53ec79f9a3ef7819aae4dffd2d4d6d8e2 (diff) | |
download | kutter-5e91c5de2838bae00510966fae2b1bea41addcc6.tar.gz kutter-5e91c5de2838bae00510966fae2b1bea41addcc6.tar.xz kutter-5e91c5de2838bae00510966fae2b1bea41addcc6.zip |
workflows: Update invalid-label-bot.yaml to use actions/github-script@v6
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/invalid-label-bot.yaml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/invalid-label-bot.yaml b/.github/workflows/invalid-label-bot.yaml index 62381625..30a9e3bf 100644 --- a/.github/workflows/invalid-label-bot.yaml +++ b/.github/workflows/invalid-label-bot.yaml @@ -8,9 +8,8 @@ jobs: if: github.repository == 'Klipper3d/klipper' runs-on: ubuntu-latest steps: - - uses: actions/github-script@v3 + - uses: actions/github-script@v6 with: - github-token: ${{secrets.GITHUB_TOKEN}} script: | if (context.payload.label.name != "not on github") return; @@ -36,7 +35,7 @@ jobs: + "~ Your friendly GitIssueBot" + "\n\n" + "PS: I'm just an automated script, not a human being."; - github.issues.createComment({ + github.rest.issues.createComment({ issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo, |