diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 9c91a59f..8e757dd9 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -81,7 +81,7 @@ jobs: - name: Send failure notification to Slack if: ${{ env.SLACK_WEBHOOK_URL != '' }} - uses: slackapi/slack-github-action@dcb1066f776dd043e64d0e8ba94ca15cc7e1875d # v4.0.0 + uses: slackapi/slack-github-action@0bc3581177d9a0f8d555e07689384b376528e8fa # v4.1.0 with: webhook: ${{ env.SLACK_WEBHOOK_URL }} webhook-type: incoming-webhook diff --git a/.github/workflows/notify-slack-on-main-merge.yml b/.github/workflows/notify-slack-on-main-merge.yml index 3c197958..a99fb2d5 100644 --- a/.github/workflows/notify-slack-on-main-merge.yml +++ b/.github/workflows/notify-slack-on-main-merge.yml @@ -29,7 +29,7 @@ jobs: printf 'title=%s\n' "$(printf '%s' "$TITLE" | tr '\r\n' ' ' | sed -e 's/&/\&/g' -e 's//\>/g')" >> "$GITHUB_OUTPUT" - name: Send notification to Slack - uses: slackapi/slack-github-action@dcb1066f776dd043e64d0e8ba94ca15cc7e1875d # v4.0.0 + uses: slackapi/slack-github-action@0bc3581177d9a0f8d555e07689384b376528e8fa # v4.1.0 with: method: chat.postMessage token: ${{ secrets.SLACK_BOT_TOKEN }} diff --git a/.github/workflows/publish-dev-to-pypi.yml b/.github/workflows/publish-dev-to-pypi.yml index b954f2bc..2e42e510 100644 --- a/.github/workflows/publish-dev-to-pypi.yml +++ b/.github/workflows/publish-dev-to-pypi.yml @@ -139,7 +139,7 @@ jobs: - name: Notify Slack (build failure) if: ${{ needs.build.result == 'failure' }} - uses: slackapi/slack-github-action@dcb1066f776dd043e64d0e8ba94ca15cc7e1875d # v4.0.0 + uses: slackapi/slack-github-action@0bc3581177d9a0f8d555e07689384b376528e8fa # v4.1.0 with: method: chat.postMessage token: ${{ secrets.SLACK_BOT_TOKEN }} @@ -152,7 +152,7 @@ jobs: - name: Notify Slack (failure) if: ${{ needs.publish-dev.result == 'failure' }} - uses: slackapi/slack-github-action@dcb1066f776dd043e64d0e8ba94ca15cc7e1875d # v4.0.0 + uses: slackapi/slack-github-action@0bc3581177d9a0f8d555e07689384b376528e8fa # v4.1.0 with: method: chat.postMessage token: ${{ secrets.SLACK_BOT_TOKEN }} @@ -167,7 +167,7 @@ jobs: # NOT pick this up, which otherwise reads as a broken publish. - name: Notify Slack (success) if: ${{ needs.publish-dev.result == 'success' }} - uses: slackapi/slack-github-action@dcb1066f776dd043e64d0e8ba94ca15cc7e1875d # v4.0.0 + uses: slackapi/slack-github-action@0bc3581177d9a0f8d555e07689384b376528e8fa # v4.1.0 with: method: chat.postMessage token: ${{ secrets.SLACK_BOT_TOKEN }} diff --git a/.github/workflows/publish-install-script.yml b/.github/workflows/publish-install-script.yml index d291bc7f..9fe01bd8 100644 --- a/.github/workflows/publish-install-script.yml +++ b/.github/workflows/publish-install-script.yml @@ -69,7 +69,7 @@ jobs: - name: Notify Slack (failure) if: ${{ needs.publish.result == 'failure' }} - uses: slackapi/slack-github-action@dcb1066f776dd043e64d0e8ba94ca15cc7e1875d # v4.0.0 + uses: slackapi/slack-github-action@0bc3581177d9a0f8d555e07689384b376528e8fa # v4.1.0 with: method: chat.postMessage token: ${{ secrets.SLACK_BOT_TOKEN }} @@ -83,7 +83,7 @@ jobs: - name: Notify Slack (success) if: ${{ needs.publish.result == 'success' }} - uses: slackapi/slack-github-action@dcb1066f776dd043e64d0e8ba94ca15cc7e1875d # v4.0.0 + uses: slackapi/slack-github-action@0bc3581177d9a0f8d555e07689384b376528e8fa # v4.1.0 with: method: chat.postMessage token: ${{ secrets.SLACK_BOT_TOKEN }} diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index ecc2f708..9e90ae32 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -29,7 +29,7 @@ jobs: id: slack-start if: ${{ vars.SLACK_CHANNEL_ID != '' }} continue-on-error: true - uses: slackapi/slack-github-action@dcb1066f776dd043e64d0e8ba94ca15cc7e1875d # v4.0.0 + uses: slackapi/slack-github-action@0bc3581177d9a0f8d555e07689384b376528e8fa # v4.1.0 with: method: chat.postMessage token: ${{ secrets.SLACK_BOT_TOKEN }} @@ -108,7 +108,7 @@ jobs: steps: - name: Notify Slack (build failure) if: ${{ needs.build.result == 'failure' }} - uses: slackapi/slack-github-action@dcb1066f776dd043e64d0e8ba94ca15cc7e1875d # v4.0.0 + uses: slackapi/slack-github-action@0bc3581177d9a0f8d555e07689384b376528e8fa # v4.1.0 with: method: chat.postMessage token: ${{ secrets.SLACK_BOT_TOKEN }} @@ -123,7 +123,7 @@ jobs: - name: Notify Slack (failure) if: ${{ needs.publish-to-pypi.result == 'failure' }} - uses: slackapi/slack-github-action@dcb1066f776dd043e64d0e8ba94ca15cc7e1875d # v4.0.0 + uses: slackapi/slack-github-action@0bc3581177d9a0f8d555e07689384b376528e8fa # v4.1.0 with: method: chat.postMessage token: ${{ secrets.SLACK_BOT_TOKEN }} @@ -150,7 +150,7 @@ jobs: # that actually works. - name: Notify Slack (pre-release published) if: ${{ needs.publish-to-pypi.result == 'success' && github.event.release.prerelease }} - uses: slackapi/slack-github-action@dcb1066f776dd043e64d0e8ba94ca15cc7e1875d # v4.0.0 + uses: slackapi/slack-github-action@0bc3581177d9a0f8d555e07689384b376528e8fa # v4.1.0 with: method: chat.postMessage token: ${{ secrets.SLACK_BOT_TOKEN }} @@ -167,7 +167,7 @@ jobs: env: # Empty while the release step only logs, or when it failed. RELEASE_URL: ${{ needs.linear-release.outputs.release-url }} - uses: slackapi/slack-github-action@dcb1066f776dd043e64d0e8ba94ca15cc7e1875d # v4.0.0 + uses: slackapi/slack-github-action@0bc3581177d9a0f8d555e07689384b376528e8fa # v4.1.0 with: method: chat.postMessage token: ${{ secrets.SLACK_BOT_TOKEN }} @@ -185,7 +185,7 @@ jobs: - name: Notify Slack (✅ on the start notice) if: ${{ needs.publish-to-pypi.result == 'success' && env.THREAD_TS != 'null' }} continue-on-error: true - uses: slackapi/slack-github-action@dcb1066f776dd043e64d0e8ba94ca15cc7e1875d # v4.0.0 + uses: slackapi/slack-github-action@0bc3581177d9a0f8d555e07689384b376528e8fa # v4.1.0 with: method: reactions.add token: ${{ secrets.SLACK_BOT_TOKEN }}