Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jul 2, 2025

Bumps slackapi/slack-github-action from 1 to 2.

Release notes

Sourced from slackapi/slack-github-action's releases.

Slack Send v2.0.0

YAML! And more API methods! With improved erroring! And more!

Sending data to Slack can now be done with the YAML format, and that data can be sent to [a Slack API method][methods] or technique of choice with the provided payload. And additional configurations can improve error handling or customize values between steps.

Breaking changes happen with this update and recommended migration strategies are detailed below. Adding this step to new workflows might prefer to follow the README instead 📚

What's changed

Both inputs of payload variables, techniques for sending the payload, additional configurations, and expected outputs were changed:

... (truncated)

Commits
  • b0fa283 Release
  • 47b1876 chore(release): tag version 2.1.0 (#438)
  • ab965e5 fix: include cause of parsing errors in action output logs (#431)
  • c7dafcf fix: require a custom 'api' url to send to instead of absolute urls as a 'met...
  • 4fc20be build(deps): bump codecov/codecov-action from 5.4.0 to 5.4.2 (#437)
  • 54c2553 build(deps): bump actions/create-github-app-token from 1 to 2 (#436)
  • 9472fc6 build(deps): bump axios from 1.8.4 to 1.9.0 (#435)
  • c34c4e8 build(deps-dev): bump typescript from 5.8.2 to 5.8.3 (#434)
  • f473c97 build(deps-dev): bump @​types/node from 22.13.14 to 22.15.3 (#433)
  • aef4dbb docs: update casing of Github to GitHub (#430)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jul 2, 2025

Labels

The following labels could not be found: chore. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

cursor[bot]

This comment was marked as outdated.

Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action) from 1 to 2.
- [Release notes](https://github.com/slackapi/slack-github-action/releases)
- [Commits](slackapi/slack-github-action@v1...v2)

---
updated-dependencies:
- dependency-name: slackapi/slack-github-action
  dependency-version: '2'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/github_actions/slackapi/slack-github-action-2 branch from 753e629 to 97311c2 Compare July 16, 2025 15:15
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 👎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants