diff --git a/.github/workflows/compare-comment.yml b/.github/workflows/compare-comment.yml index 61bf6896a5d..15f5e85cf6d 100644 --- a/.github/workflows/compare-comment.yml +++ b/.github/workflows/compare-comment.yml @@ -18,7 +18,7 @@ jobs: steps: - name: 'Download docs artifacts' id: docs-artifacts - uses: actions/github-script@v5 + uses: actions/github-script@v6 with: script: | var artifacts = await github.rest.actions.listWorkflowRunArtifacts({ @@ -70,7 +70,7 @@ jobs: (diff -r docs-base docs-head && echo 'No differences!' || true) | tee ./result.diff - name: Post comment with docs diff - uses: actions/github-script@v5 + uses: actions/github-script@v6 with: script: | var fs = require('fs'); diff --git a/.github/workflows/test-release.yml b/.github/workflows/test-release.yml index 32b6467d85e..59b02f1f017 100644 --- a/.github/workflows/test-release.yml +++ b/.github/workflows/test-release.yml @@ -181,7 +181,7 @@ jobs: path: dist/ - name: Upload dist files to release - uses: actions/github-script@v5 + uses: actions/github-script@v6 with: script: | const fs = require('fs')