diff --git a/.github/workflows/braintrust-preview-scorers-cleanup.yml b/.github/workflows/braintrust-preview-scorers-cleanup.yml index 0308dd685e5..f7c28d18e86 100644 --- a/.github/workflows/braintrust-preview-scorers-cleanup.yml +++ b/.github/workflows/braintrust-preview-scorers-cleanup.yml @@ -43,7 +43,7 @@ jobs: done - name: Post cleanup comment - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const prNumber = context.payload.pull_request.number diff --git a/.github/workflows/braintrust-preview-scorers-deploy.yml b/.github/workflows/braintrust-preview-scorers-deploy.yml index a0127505bdb..94c6ab85179 100644 --- a/.github/workflows/braintrust-preview-scorers-deploy.yml +++ b/.github/workflows/braintrust-preview-scorers-deploy.yml @@ -77,7 +77,7 @@ jobs: - name: Post PR comment if: steps.changed.outputs.skip != 'true' - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: BRAINTRUST_STAGING_PROJECT_ID: ${{ secrets.BRAINTRUST_STAGING_PROJECT_ID }} SCORER_SLUGS: ${{ steps.push.outputs.slugs }} diff --git a/.github/workflows/docs-lint-v2-comment.yml b/.github/workflows/docs-lint-v2-comment.yml index 7c4561d3695..56b6d0ed183 100644 --- a/.github/workflows/docs-lint-v2-comment.yml +++ b/.github/workflows/docs-lint-v2-comment.yml @@ -25,7 +25,7 @@ jobs: steps: - id: download_artifact name: 'Download artifact' - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const artifacts = await github.rest.actions.listWorkflowRunArtifacts({ @@ -53,7 +53,7 @@ jobs: run: unzip lint_results.zip - name: 'Comment on PR' if: steps.download_artifact.outputs.contains_results == 'true' - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const fs = require('fs'); diff --git a/.github/workflows/external-pr-comment.yml b/.github/workflows/external-pr-comment.yml index d330ad18b97..ea0819f76c6 100644 --- a/.github/workflows/external-pr-comment.yml +++ b/.github/workflows/external-pr-comment.yml @@ -13,7 +13,7 @@ jobs: if: github.event.pull_request.head.repo.full_name != github.repository steps: - name: Comment on PR - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const commentBody = `