diff --git a/.github/workflows/accessibility_scan.yml b/.github/workflows/accessibility_scan.yml index d5a63b969a4..519a28393da 100644 --- a/.github/workflows/accessibility_scan.yml +++ b/.github/workflows/accessibility_scan.yml @@ -25,7 +25,7 @@ jobs: env: NODE_OPTIONS: --max_old_space_size=4096 - name: Get changed/new pages to run accessibility tests on - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 id: pages-to-a11y-test with: github-token: ${{ secrets.GITHUB_TOKEN }} @@ -38,7 +38,7 @@ jobs: python -m http.server 3000 -d ${{ env.BUILD_DIR }} & sleep 5 - name: Run accessibility tests on changed/new MDX pages - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 id: axeResults with: result-encoding: string diff --git a/.github/workflows/add_deleted_assets_label.yml b/.github/workflows/add_deleted_assets_label.yml index b636360befb..6348c22d24a 100644 --- a/.github/workflows/add_deleted_assets_label.yml +++ b/.github/workflows/add_deleted_assets_label.yml @@ -17,7 +17,7 @@ jobs: - name: Checkout repository to get the workflow scripts uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 - name: Download artifact - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 env: WORKSPACE: ${{ github.workspace }} with: @@ -30,7 +30,7 @@ jobs: - name: Unzip artifact run: unzip '${{ env.ARTIFACT_NAME }}.zip' - name: Add redirects-needed label to PR - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/add_redirects_label.yml b/.github/workflows/add_redirects_label.yml index 3a369b8cfdd..a0cb8867a52 100644 --- a/.github/workflows/add_redirects_label.yml +++ b/.github/workflows/add_redirects_label.yml @@ -17,7 +17,7 @@ jobs: - name: Checkout repository to get the workflow scripts uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 - name: Download artifact - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 env: WORKSPACE: ${{ github.workspace }} with: @@ -30,7 +30,7 @@ jobs: - name: Unzip artifact run: unzip '${{ env.ARTIFACT_NAME }}.zip' - name: Add redirects-needed label to PR - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/check_bundle_size.yml b/.github/workflows/check_bundle_size.yml index 4a87b5472e7..20af762b8f6 100644 --- a/.github/workflows/check_bundle_size.yml +++ b/.github/workflows/check_bundle_size.yml @@ -28,7 +28,7 @@ jobs: NODE_OPTIONS: --max_old_space_size=4096 run: ANALYZE=true yarn next-build - name: Check base bundle size of select pages - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 id: base-bundle-sizes with: github-token: ${{ secrets.GITHUB_TOKEN }} @@ -54,7 +54,7 @@ jobs: NODE_OPTIONS: --max_old_space_size=4096 run: ANALYZE=true yarn next-build - name: Check head bundle size of select pages - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 id: head-bundle-sizes with: github-token: ${{ secrets.GITHUB_TOKEN }} @@ -62,7 +62,7 @@ jobs: const { checkBundleSize } = require('./.github/workflows/scripts/check_bundle_size.js'); return checkBundleSize(); - name: Compare bundle page bundle sizes - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 id: compare-bundles with: github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/check_for_broken_links.yml b/.github/workflows/check_for_broken_links.yml index fd88d91bc75..52c807211c0 100644 --- a/.github/workflows/check_for_broken_links.yml +++ b/.github/workflows/check_for_broken_links.yml @@ -22,7 +22,7 @@ jobs: run: yarn - name: Run Link Checker id: checkLinks - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 with: result-encoding: string script: | diff --git a/.github/workflows/check_for_console_errors.yml b/.github/workflows/check_for_console_errors.yml index f53470806ff..72aa2532945 100644 --- a/.github/workflows/check_for_console_errors.yml +++ b/.github/workflows/check_for_console_errors.yml @@ -31,7 +31,7 @@ jobs: sleep 5 - name: Run Console Errors id: consoleErrors - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 with: result-encoding: string script: | diff --git a/.github/workflows/check_for_deleted_assets.yml b/.github/workflows/check_for_deleted_assets.yml index f41c13e79d2..316e58e0164 100644 --- a/.github/workflows/check_for_deleted_assets.yml +++ b/.github/workflows/check_for_deleted_assets.yml @@ -13,7 +13,7 @@ jobs: - name: Checkout repository to get the workflow scripts uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 - name: Get count of deleted files - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 id: set-deleted-files-count with: github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/check_for_new_files.yml b/.github/workflows/check_for_new_files.yml index 4031c0985a7..26269056147 100644 --- a/.github/workflows/check_for_new_files.yml +++ b/.github/workflows/check_for_new_files.yml @@ -12,7 +12,7 @@ jobs: - name: Checkout repository uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 - name: Get count of added files - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 id: set-added-files-count with: github-token: ${{ secrets.GITHUB_TOKEN }} @@ -27,7 +27,7 @@ jobs: run: yarn add ignore@5.2.4 -W # help verify CODEOWNERS - name: Check file against CODEOWNERS if: ${{ steps.set-added-files-count.outputs.result > 0 }} - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 env: CURRENT_BRANCH: ${{ github.head_ref }} CURRENT_REPO: ${{ github.repository }} diff --git a/.github/workflows/check_for_new_fragments.yml b/.github/workflows/check_for_new_fragments.yml index 94f0d406552..e75fc572eed 100644 --- a/.github/workflows/check_for_new_fragments.yml +++ b/.github/workflows/check_for_new_fragments.yml @@ -10,7 +10,7 @@ jobs: - name: Checkout repository uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 - name: Check if there are new fragments - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 id: new-fragments-boolean with: github-token: ${{ secrets.GITHUB_TOKEN }} @@ -20,7 +20,7 @@ jobs: return getAddedFragments({github, context, core}); - name: Add Comment to PR if new fragments have been added if: ${{ steps.new-fragments-boolean.outputs.result > 0 }} - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 env: CURRENT_BRANCH: ${{ github.head_ref }} CURRENT_REPO: ${{ github.repository }} diff --git a/.github/workflows/check_for_redirects.yml b/.github/workflows/check_for_redirects.yml index 908f0e9eaf8..6ab6d6c1d19 100644 --- a/.github/workflows/check_for_redirects.yml +++ b/.github/workflows/check_for_redirects.yml @@ -13,7 +13,7 @@ jobs: - name: Checkout repository to get the workflow scripts uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 - name: Get count of deleted files - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 id: set-deleted-files-count with: github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/check_pr_for_broken_links.yml b/.github/workflows/check_pr_for_broken_links.yml index 1c50dd14ef5..ed634d84fb5 100644 --- a/.github/workflows/check_pr_for_broken_links.yml +++ b/.github/workflows/check_pr_for_broken_links.yml @@ -29,7 +29,7 @@ jobs: sleep 5 - name: Run Link Checker id: checkLinks - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 with: result-encoding: string script: | diff --git a/.github/workflows/validate_redirects.yml b/.github/workflows/validate_redirects.yml index 2fc0460c162..b2e3c718d1e 100644 --- a/.github/workflows/validate_redirects.yml +++ b/.github/workflows/validate_redirects.yml @@ -23,7 +23,7 @@ jobs: run: yarn - name: Validate redirects id: redirects - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 with: result-encoding: string script: |