diff --git a/.github/workflows/slack-notifications.yml b/.github/workflows/slack-notifications.yml index 9db209ddea646..4bfc6ee5e87e0 100644 --- a/.github/workflows/slack-notifications.yml +++ b/.github/workflows/slack-notifications.yml @@ -70,7 +70,7 @@ jobs: - name: Determine the status of the previous attempt id: previous-attempt-result if: ${{ github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }} - uses: actions/github-script@9ac08808f993958e9de277fe43a64532a609130e # v6.0.0 + uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.0.0 with: script: | const workflow_run = await github.rest.actions.getWorkflowRun({ @@ -128,7 +128,7 @@ jobs: - name: Get the commit message id: current-commit-message - uses: actions/github-script@9ac08808f993958e9de277fe43a64532a609130e # v6.0.0 + uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.0.0 if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }} with: script: | diff --git a/.github/workflows/test-old-branches.yml b/.github/workflows/test-old-branches.yml index f0be35a2085b8..158b42fd52d06 100644 --- a/.github/workflows/test-old-branches.yml +++ b/.github/workflows/test-old-branches.yml @@ -67,7 +67,7 @@ jobs: # Run all branches monthly, but only the currently supported one twice per month. steps: - name: Dispatch workflow run - uses: actions/github-script@9ac08808f993958e9de277fe43a64532a609130e # v6.0.0 + uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.0.0 if: ${{ github.event_name == 'push' || github.event.schedule == '0 0 15 * *' || matrix.branch == '6.0' }} with: github-token: ${{ secrets.GHA_OLD_BRANCH_DISPATCH }}