diff --git a/.github/workflows/notify-slack-on-main-merge.yml b/.github/workflows/notify-slack-on-main-merge.yml index 063a403..f5cbd0a 100644 --- a/.github/workflows/notify-slack-on-main-merge.yml +++ b/.github/workflows/notify-slack-on-main-merge.yml @@ -31,7 +31,7 @@ jobs: printf 'title=%s\n' "$(printf '%s' "$TITLE" | tr '\r\n' ' ' | sed -e 's/&/\&/g' -e 's//\>/g')" >> "$GITHUB_OUTPUT" - name: Notify Slack (merged to main) - 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 8466a7f..a4cc8d8 100644 --- a/.github/workflows/publish-dev-to-pypi.yml +++ b/.github/workflows/publish-dev-to-pypi.yml @@ -52,7 +52,7 @@ jobs: - name: Install uv # uv provisions its own Python (honoring requires-python), so no # separate actions/setup-python step is needed. - uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3 + uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0 with: version: "0.12.23" enable-cache: false @@ -151,7 +151,7 @@ jobs: - name: Notify Slack (checks failed) if: ${{ needs.pre-publish-checks.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 }} @@ -164,7 +164,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 }} @@ -177,7 +177,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 }} @@ -192,7 +192,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-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index fee74a0..bde6549 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -40,7 +40,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 }} @@ -54,7 +54,7 @@ jobs: - name: Install uv # uv provisions its own Python (honoring requires-python), so no # separate actions/setup-python step is needed. - uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3 + uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0 with: version: "0.12.23" enable-cache: false @@ -174,7 +174,7 @@ jobs: steps: - name: Notify Slack (checks failed) if: ${{ needs.pre-publish-checks.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 }} @@ -187,7 +187,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 }} @@ -202,7 +202,7 @@ jobs: - name: Notify Slack (upload failure) if: ${{ needs.upload-release-assets.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 }} @@ -217,7 +217,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 }} @@ -244,7 +244,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 }} @@ -261,7 +261,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 }} @@ -279,7 +279,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 }}