diff --git a/.github/workflows/comment_pr.yml b/.github/workflows/comment_pr.yml index 3059618..a063d15 100644 --- a/.github/workflows/comment_pr.yml +++ b/.github/workflows/comment_pr.yml @@ -25,7 +25,7 @@ jobs: echo "GH context:" echo "$GITHUB_CONTEXT" - name: 'Download artifact' - uses: actions/github-script@v6.4.1 + uses: actions/github-script@v7.0.1 with: script: | var artifacts = await github.rest.actions.listWorkflowRunArtifacts({ @@ -51,7 +51,7 @@ jobs: cat ./comment - name: 'Comment on Current Pull Request' - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: github-token: ${{ secrets.COMMENT_BOT_TOKEN }} script: | diff --git a/.github/workflows/setup_repository.yml b/.github/workflows/setup_repository.yml index d09a97c..c852272 100644 --- a/.github/workflows/setup_repository.yml +++ b/.github/workflows/setup_repository.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/github-script@v6 + - uses: actions/github-script@v7 with: script: | console.log("Setting up the repository", context);