diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3349a15..42e64c6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -176,7 +176,7 @@ jobs: echo "title=$TITLE" >> "$GITHUB_OUTPUT" - name: Notify Success if: needs.publish.result == 'success' && needs.sbom.result == 'success' && github.event_name == 'push' - uses: slackapi/slack-github-action@v3.0.5 + uses: slackapi/slack-github-action@v4.0.0 with: webhook-type: incoming-webhook webhook: ${{ secrets.SLACK_WEBHOOK_URL_YOLO }} @@ -184,7 +184,7 @@ jobs: text: " *${{ github.workflow }}* ✅ `${{ github.repository }}` ${{ steps.release.outputs.title || needs.check.outputs.current_tag }} · " - name: Notify Failure if: needs.publish.result != 'success' || needs.sbom.result != 'success' - uses: slackapi/slack-github-action@v3.0.5 + uses: slackapi/slack-github-action@v4.0.0 with: webhook-type: incoming-webhook webhook: ${{ secrets.SLACK_WEBHOOK_URL_YOLO }}