Skip to content

chore: bump slackapi/slack-github-action from 1 to 2

97311c2
Select commit
Loading
Failed to load commit list.
Open

chore: bump slackapi/slack-github-action from 1 to 2 #102

chore: bump slackapi/slack-github-action from 1 to 2
97311c2
Select commit
Loading
Failed to load commit list.
Cursor / Cursor BugBot completed Jul 16, 2025 in 1m 7s

BugBot Review

BugBot Analysis Progress (1m 8s elapsed)

✅ Gathered PR context (2s)
✅ Analyzed code changes (1s)
✅ Completed bug detection — 1 potential bug found (1m 3s)
✅ Validation and filtering completed (0s)
✅ Posted analysis results — 1 bug reported (2s)
✅ Analysis completed successfully (0s)

Final Result: BugBot completed review and found 1 potential issue

Request ID: serverGenReqId_7b39240a-f1f7-4ff9-a1b4-2baf64a08a9d

Details

Bug: Slack Action Upgrade Fails Without Webhook Type

Upgrading slackapi/slack-github-action from v1 to v2 introduces a breaking change: v2 requires the webhook-type input to be explicitly specified for incoming webhooks. The current configuration uses SLACK_WEBHOOK_URL but omits this required input, causing the Slack notification step to fail.

.github/workflows/bump-version.yaml#L83-L91

- name: Send Slack notification on success
uses: slackapi/slack-github-action@v2
with:
payload: |
{
"text": "${{ steps.validate.outputs.action == 'create' && 'Created' || 'Updated' }} cache-delete tag ${{ steps.validate.outputs.tag }} pointing to commit ${{ steps.validate.outputs.target_commit }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.CACHE_SLACK_WEBHOOK_URL }}

Fix in CursorFix in Web


Was this report helpful? Give feedback by reacting with 👍 or 👎