diff --git a/.github/workflows/generate-preview.yml b/.github/workflows/generate-preview.yml index c316b89f49..d57c7b1789 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@v3 + uses: actions/github-script@v6.3.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@v3 + uses: actions/github-script@v6.3.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 633699c564..2661e1d318 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@v3 + uses: actions/github-script@v6.3.0 with: github-token: ${{secrets.GITHUB_TOKEN}} script: |