From 86cb9c318a1a7fb8b85d483db48c7121ba50cb0d Mon Sep 17 00:00:00 2001 From: Benedikt Ritter Date: Sun, 2 Jan 2022 20:18:12 +0100 Subject: [PATCH] Update docs to latest github-script action version See https://github.com/marketplace/actions/github-script#breaking-changes-in-v5 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 74a8e7e..8b7c16b 100644 --- a/README.md +++ b/README.md @@ -309,12 +309,12 @@ jobs: - id: gradle run: ./gradlew build - name: "Comment build scan url" - uses: actions/github-script@v3 + uses: actions/github-script@v5 if: github.event_name == 'pull_request' && failure() with: github-token: ${{secrets.GITHUB_TOKEN}} script: | - github.issues.createComment({ + github.rest.issues.createComment({ issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo,