diff --git a/.github/workflows/slack-notifications.yml b/.github/workflows/slack-notifications.yml index 7a58813648..52af147795 100644 --- a/.github/workflows/slack-notifications.yml +++ b/.github/workflows/slack-notifications.yml @@ -71,7 +71,7 @@ jobs: - name: Get the workflow ID id: current-workflow-id if: ${{ github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }} - uses: actions/github-script@441359b1a30438de65712c2fbca0abe4816fa667 # v5.0.0 + uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0 with: script: | const workflow_run = await github.rest.actions.getWorkflowRun({ @@ -83,7 +83,7 @@ jobs: - name: Get details about the previous workflow run id: previous-result - uses: actions/github-script@441359b1a30438de65712c2fbca0abe4816fa667 # v5.0.0 + uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0 with: script: | const previous_runs = await github.rest.actions.listWorkflowRuns({ @@ -102,7 +102,7 @@ jobs: - name: Get the commit message id: current-commit-message - uses: actions/github-script@441359b1a30438de65712c2fbca0abe4816fa667 # v5.0.0 + uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.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 0770295d13..7f43bc7a56 100644 --- a/.github/workflows/test-old-branches.yml +++ b/.github/workflows/test-old-branches.yml @@ -58,7 +58,7 @@ jobs: # Run all branches monthly, but only the currently supported one twice per month. steps: - name: Dispatch workflow run - uses: actions/github-script@441359b1a30438de65712c2fbca0abe4816fa667 # v5.0.0 + uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0 if: ${{ github.event_name == 'push' || github.event.schedule == '0 0 15 * *' || matrix.branch == '5.7' }} with: github-token: ${{ secrets.GHA_OLD_BRANCH_DISPATCH }}