diff --git a/.github/actions/detect-changes/action.yml b/.github/actions/detect-changes/action.yml index 4f5706957a7..ad7dca11a49 100644 --- a/.github/actions/detect-changes/action.yml +++ b/.github/actions/detect-changes/action.yml @@ -9,7 +9,7 @@ runs: steps: - name: Check for code changes id: detect - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b #v7.1.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9 with: script: | if (!context.payload.pull_request) { diff --git a/.github/actions/prevent-retries/action.yml b/.github/actions/prevent-retries/action.yml index 17b1332d0b3..25c09af0b34 100644 --- a/.github/actions/prevent-retries/action.yml +++ b/.github/actions/prevent-retries/action.yml @@ -5,7 +5,7 @@ runs: using: 'composite' steps: - name: Forcefully fail build if job is retried - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b #v7.1.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | core.setFailed('Please push a commit to trigger the build. To push an empty commit you can use `git commit --allow-empty -m "Trigger Build"`') diff --git a/.github/workflows/ci-continuous-integration.yml b/.github/workflows/ci-continuous-integration.yml index c8f87401fb6..f160b5bac10 100644 --- a/.github/workflows/ci-continuous-integration.yml +++ b/.github/workflows/ci-continuous-integration.yml @@ -139,7 +139,7 @@ jobs: fi - name: Post PR comment if peerDependencies changed if: failure() && github.event.pull_request - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b #v7.1.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/ci-merge-checks.yml b/.github/workflows/ci-merge-checks.yml index 1ffe7d4eacc..7bb94945b19 100644 --- a/.github/workflows/ci-merge-checks.yml +++ b/.github/workflows/ci-merge-checks.yml @@ -264,7 +264,7 @@ jobs: total-containers: 3 if: ${{ needs.a11y_e2e_tests.result != 'skipped' }} - name: Post PR comment with screenshot details - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b #v7.1.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 if: ${{ github.event_name == 'pull_request' && needs.a11y_e2e_tests.result == 'failure' }} with: script: | @@ -277,7 +277,7 @@ jobs: if: ${{ always() }} steps: - name: Aggregate Required Job Results - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b #v7.1.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | github.rest.issues.createComment({ diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d8cfff2bea4..f40e35029ba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -381,7 +381,7 @@ jobs: if: ${{ always() }} steps: - name: Required build failed - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b #v7.1.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | core.setFailed('Build failed') diff --git a/.github/workflows/e2e-vendor.yml b/.github/workflows/e2e-vendor.yml index 732d2aeadd1..0f18f94fb32 100644 --- a/.github/workflows/e2e-vendor.yml +++ b/.github/workflows/e2e-vendor.yml @@ -115,7 +115,7 @@ jobs: if: ${{ always() }} steps: - name: Required build failed - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b #v7.1.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | core.setFailed('Build failed') diff --git a/.github/workflows/no-global-npm-install.yml b/.github/workflows/no-global-npm-install.yml index 958f6384474..8ef4f51f768 100644 --- a/.github/workflows/no-global-npm-install.yml +++ b/.github/workflows/no-global-npm-install.yml @@ -56,7 +56,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Post PR comment on failure - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b #v7.1.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/pr-title-check.yml b/.github/workflows/pr-title-check.yml index a0c6c1df696..6746a02b8d6 100644 --- a/.github/workflows/pr-title-check.yml +++ b/.github/workflows/pr-title-check.yml @@ -33,7 +33,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Post PR comment on failure - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b #v7.1.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: |