Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Bump slackapi/slack-github-action from 1.27.0 to 2.0.0 #2810

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 19, 2024

Bumps slackapi/slack-github-action from 1.27.0 to 2.0.0.

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
  • 485a9d4 Release
  • e598089 chore(release): tag version 2.0.0
  • e9b3a6b feat!: wrap payloads to send to a "method" with "token" or "webhook" (#333)
  • 74ae656 chore(release): tag version 1.27.1
  • bd0e281 build(deps): bump codecov/codecov-action from 4.5.0 to 4.6.0 (#355)
  • e127529 build(deps): bump @​actions/core from 1.10.1 to 1.11.1 (#354)
  • 6b51022 build(deps-dev): bump eslint-plugin-jsdoc from 50.3.1 to 50.4.3 (#353)
  • 555e4ad build(deps-dev): bump eslint-plugin-import from 2.30.0 to 2.31.0 (#352)
  • 8d4500e build(deps): bump @​slack/web-api from 7.5.0 to 7.7.0 (#351)
  • d0dece6 build(deps-dev): bump mocha from 10.7.3 to 10.8.2 (#350)
  • 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)

Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action) from 1.27.0 to 2.0.0.
- [Release notes](https://github.com/slackapi/slack-github-action/releases)
- [Commits](slackapi/slack-github-action@37ebaef...485a9d4)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner November 19, 2024 22:18
@dependabot dependabot bot added dependencies github_actions Pull requests that update Github_actions code labels Nov 19, 2024
Copy link
Contributor

This PR has gone 7 days without any activity and meets the project’s definition of "stale". This will be auto-closed if there is no new activity over the next 7 days. If the issue is still relevant and active, you can simply comment with a "bump" to keep it open, or add the label "not_stale". Thanks for keeping our repository healthy!

@github-actions github-actions bot added the stale label Nov 25, 2024
@lantoli lantoli added not_stale Not stale issue or PR and removed stale labels Nov 27, 2024
@lantoli
Copy link
Member

lantoli commented Nov 27, 2024

ticket create to address this update: CLOUDP-286994

@AgustinBettati
Copy link
Member

AgustinBettati commented Nov 27, 2024

Added changes for breaking changes introduced for Technique 3: Slack incoming webhook: https://github.com/slackapi/slack-github-action/releases/tag/v2.0.0.

@AgustinBettati
Copy link
Member

AgustinBettati commented Nov 27, 2024

Used the following branch https://github.com/mongodb/terraform-provider-mongodbatlas/tree/refs/heads/test-sending-slack-message to trigger an action and verify slack message is sent (sent slack message).

@oarbusi
Copy link
Collaborator

oarbusi commented Nov 27, 2024

Can we make sure variable replacement works in the payload? in the release notes for v2.0.0 I see: "Variable replacements no longer happen by default"

@AgustinBettati
Copy link
Member

@oarbusi Verified variable replacement continues to work. From my understanding that statement only applies if payload-file-path is used.

Copy link
Collaborator

@oarbusi oarbusi left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for checking the variable replacement

@AgustinBettati AgustinBettati merged commit 6e7bb28 into master Nov 27, 2024
39 checks passed
@AgustinBettati AgustinBettati deleted the dependabot/github_actions/slackapi/slack-github-action-2.0.0 branch November 27, 2024 17:09
lantoli added a commit that referenced this pull request Nov 28, 2024
* master:
  chore: Bump slackapi/slack-github-action from 1.27.0 to 2.0.0 (#2810)
  chore: Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 (#2834)
  chore: Bump srvaroa/labeler from 1.11.1 to 1.12.0 (#2831)
  chore: Update tj-actions/verify-changed-files requirement to 530d86d0a237225c87beaa000750988f8965ee31 (#2832)
  chore: Bump actions/checkout from 4.2.1 to 4.2.2 (#2833)
  chore: Bump github.com/wI2L/jsondiff from 0.6.0 to 0.6.1 (#2835)
  doc: Add preview notice in `mongodbatlas_flex_cluster` docs (#2830)
  chore: Updates CHANGELOG.md header for v1.22.0 release
  chore: Updates examples link in index.md for v1.22.0 release
  fix: Fixes tags in `mongodbatlas_flex_cluster` (#2829)
  build(deps): bump go.mongodb.org/atlas-sdk (#2823)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies github_actions Pull requests that update Github_actions code not_stale Not stale issue or PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants