diff --git a/.github/actions/loadtest/action.yml b/.github/actions/loadtest/action.yml index 164056d6e..6771bf25a 100644 --- a/.github/actions/loadtest/action.yml +++ b/.github/actions/loadtest/action.yml @@ -209,7 +209,7 @@ runs: - name: Post PR comment if: inputs.post-comment == 'true' && inputs.pr-number != '' continue-on-error: true - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9 # Untrusted/templated values are passed via env and read with process.env # inside the script, so they are never interpolated into JS source. env: diff --git a/.github/workflows/loadtest.yml b/.github/workflows/loadtest.yml index 032706451..a1c08f8bc 100644 --- a/.github/workflows/loadtest.yml +++ b/.github/workflows/loadtest.yml @@ -19,7 +19,7 @@ jobs: steps: - name: Add reaction to comment - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9 with: script: | await github.rest.reactions.createForIssueComment({ @@ -31,7 +31,7 @@ jobs: - name: Get PR details id: pr - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9 with: script: | const pr = await github.rest.pulls.get({ @@ -89,7 +89,7 @@ jobs: - name: Add success reaction if: steps.loadtest.outputs.status == 'pass' - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9 with: script: | await github.rest.reactions.createForIssueComment({ @@ -101,7 +101,7 @@ jobs: - name: Add failure reaction if: steps.loadtest.outputs.status == 'fail' - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9 with: script: | await github.rest.reactions.createForIssueComment({