diff --git a/.github/workflows/CommentPR.yml b/.github/workflows/CommentPR.yml index 6b1d22ad..ac123c75 100644 --- a/.github/workflows/CommentPR.yml +++ b/.github/workflows/CommentPR.yml @@ -17,7 +17,7 @@ jobs: github.event.workflow_run.conclusion == 'success' }} steps: - name: 'Download artifact' - uses: actions/github-script@v3.1.0 + uses: actions/github-script@v7 with: script: | var artifacts = await github.actions.listWorkflowRunArtifacts({ @@ -39,7 +39,7 @@ jobs: - run: unzip pr.zip - name: 'Comment on PR' - uses: actions/github-script@v3 + uses: actions/github-script@v7 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: |