diff --git a/.github/workflows/generate-preview.yml b/.github/workflows/generate-preview.yml index a173acfe4b..09a3388e91 100644 --- a/.github/workflows/generate-preview.yml +++ b/.github/workflows/generate-preview.yml @@ -23,7 +23,7 @@ jobs: export_default_credentials: true - name: Remove create-preview label - uses: actions/github-script@v4.0.2 + uses: actions/github-script@v6.4.0 with: github-token: ${{secrets.GITHUB_TOKEN}} script: | @@ -51,7 +51,7 @@ jobs: run: gsutil -m rsync -R public gs://staging.nodejs.dev/${{ github.event.pull_request.number }}/ - name: Comment on PR - uses: actions/github-script@v4.0.2 + uses: actions/github-script@v6.4.0 with: github-token: ${{secrets.GITHUB_TOKEN}} script: | diff --git a/.github/workflows/upload-to-staging.yml b/.github/workflows/upload-to-staging.yml index 824971b7d0..8d5631edad 100644 --- a/.github/workflows/upload-to-staging.yml +++ b/.github/workflows/upload-to-staging.yml @@ -41,7 +41,7 @@ jobs: run: gsutil -m rsync -R public gs://staging.nodejs.dev/${{ github.event.issue.number }}/ - name: Comment on PR - uses: actions/github-script@v4.0.2 + uses: actions/github-script@v6.4.0 with: github-token: ${{secrets.GITHUB_TOKEN}} script: |