Skip to content

build(deps): Bump slackapi/slack-github-action from 1.27.0 to 2.0.0 - #4505

Merged
andynog merged 2 commits into
mainfrom
dependabot/github_actions/main/slackapi/slack-github-action-2.0.0
Nov 18, 2024
Merged

andynog merged 2 commits into
mainfrom
dependabot/github_actions/main/slackapi/slack-github-action-2.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 18, 2024

Copy link
Copy Markdown
Contributor

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@v1.27.0...v2.0.0)

---
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 18, 2024 04:36
@dependabot dependabot Bot added automerge dependencies Dependency updates labels Nov 18, 2024
@dependabot
dependabot Bot requested a review from a team November 18, 2024 04:36

@mergify mergify Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Automatically approving dependabot

@andynog andynog left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

@andynog

andynog commented Nov 18, 2024

Copy link
Copy Markdown
Contributor

even though there are breaking changes, I believe we will still get notifications if e2e tests fail. I might create a simple notification workflow for testing since the existing notifications will only be triggered if e2e fails.

@andynog andynog self-assigned this Nov 18, 2024
@andynog
andynog added this pull request to the merge queue Nov 18, 2024
Merged via the queue into main with commit c85f861 Nov 18, 2024
@andynog
andynog deleted the dependabot/github_actions/main/slackapi/slack-github-action-2.0.0 branch November 18, 2024 18:56
jmalicevic pushed a commit that referenced this pull request Nov 19, 2024
…4505)

Bumps
[slackapi/slack-github-action](https://github.com/slackapi/slack-github-action)
from 1.27.0 to 2.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/slackapi/slack-github-action/releases">slackapi/slack-github-action's
releases</a>.</em></p>
<blockquote>
<h2>Slack Send v2.0.0</h2>
<p><strong>YAML! And more API methods! With improved erroring! And
more!</strong></p>
<p>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 <a
href="https://github.com/slackapi/slack-github-action/tree/main#sending-techniques">technique
of choice</a> with the provided payload. And additional configurations
can improve error handling or customize values between steps.</p>
<p>Breaking changes happen with this update and recommended migration
strategies are detailed below. Adding this step to new workflows might
prefer to follow the <a
href="https://github.com/slackapi/slack-github-action/tree/main#slack-send-github-action"><code>README</code></a>
instead 📚</p>
<h2>What's changed</h2>
<p>Both inputs of payload variables, techniques for sending the payload,
additional configurations, and expected outputs were changed:</p>
<ul>
<li><strong>Sending variables</strong>
<ul>
<li>Breaking changes
<ul>
<li><a
href="https://github.com/slackapi/slack-github-action/blob/HEAD/#only-one-payload-input-can-be-provided">Only
one payload input can be provided</a></li>
<li><a
href="https://github.com/slackapi/slack-github-action/blob/HEAD/#only-one-technique-to-send-can-be-provided">Only
one technique to send can be provided</a></li>
<li><a
href="https://github.com/slackapi/slack-github-action/blob/HEAD/#variable-replacements-no-longer-happen-by-default">Variable
replacements no longer happen by default</a></li>
<li><a
href="https://github.com/slackapi/slack-github-action/blob/HEAD/#payload-file-path-parsed-option-was-removed">Payload
file path parsed option was removed</a></li>
</ul>
</li>
<li>Enhancements
<ul>
<li><a
href="https://github.com/slackapi/slack-github-action/blob/HEAD/#payloads-can-now-be-written-in-yaml">Payloads
can now be written in YAML</a></li>
<li><a
href="https://github.com/slackapi/slack-github-action/blob/HEAD/#payload-can-now-be-written-in-unwrapped-json">Payload
can now be written in unwrapped JSON</a></li>
</ul>
</li>
</ul>
</li>
<li><strong>Sending techniques</strong>
<ul>
<li>Technique 1: Slack Workflow Builder
<ul>
<li>Breaking changes
<ul>
<li><a
href="https://github.com/slackapi/slack-github-action/blob/HEAD/#the-webhook-type-must-be-specified-in-webhook-inputs">The
webhook type must be specified in webhook inputs</a></li>
<li><a
href="https://github.com/slackapi/slack-github-action/blob/HEAD/#payload-flattening-no-longer-happens-by-default">Payload
flattening no longer happens by default</a></li>
</ul>
</li>
<li>Enhancements
<ul>
<li><a
href="https://github.com/slackapi/slack-github-action/blob/HEAD/#the-webhook-url-can-be-specified-in-webhook-inputs">The
webhook URL can be specified in webhook inputs</a></li>
</ul>
</li>
</ul>
</li>
<li>Technique 2: Slack API method
<ul>
<li>Breaking changes
<ul>
<li><a
href="https://github.com/slackapi/slack-github-action/blob/HEAD/#the-slack-api-method-now-must-be-specified-in-inputs">The
Slack API method now must be specified in inputs</a></li>
<li><a
href="https://github.com/slackapi/slack-github-action/blob/HEAD/#a-token-must-be-provided-with-other-inputs">A
token must be provided with other inputs</a></li>
<li><a
href="https://github.com/slackapi/slack-github-action/blob/HEAD/#inputs-to-the-slack-api-method-must-be-provided-in-payloads">Inputs
to the Slack API method must be provided in payloads</a></li>
<li><a
href="https://github.com/slackapi/slack-github-action/blob/HEAD/#messages-cannot-be-sent-to-multiple-channels-in-one-step">Messages
cannot be sent to multiple channels in one step</a></li>
</ul>
</li>
</ul>
</li>
<li>Technique 3: Slack incoming webhook
<ul>
<li>Breaking changes
<ul>
<li><a
href="https://github.com/slackapi/slack-github-action/blob/HEAD/#the-webhook-type-must-be-specified-for-incoming-webhooks">The
webhook type must be specified for incoming webhooks</a></li>
</ul>
</li>
<li>Enhancements
<ul>
<li><a
href="https://github.com/slackapi/slack-github-action/blob/HEAD/#the-webhook-url-can-be-specified-for-incoming-webhooks">The
webhook URL can be specified for incoming webhook</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li><strong>Additional configurations</strong>
<ul>
<li>Enhancements
<ul>
<li><a
href="https://github.com/slackapi/slack-github-action/blob/HEAD/#steps-can-exit-with-an-error-after-a-failed-slack-api-call">Steps
can exit with an error after a failed Slack API call</a></li>
<li><a
href="https://github.com/slackapi/slack-github-action/blob/HEAD/#failed-requests-can-be-retried-various-amounts-of-times">Failed
requests can be retried various amounts of times</a></li>
<li><a
href="https://github.com/slackapi/slack-github-action/blob/HEAD/#provided-payloads-can-be-flattened-with-a-delimiter">Provided
payloads can be flattened with a delimiter</a></li>
<li><a
href="https://github.com/slackapi/slack-github-action/blob/HEAD/#provided-payloads-can-have-templated-variables-replaced">Provided
payloads can have templated variables replaced</a></li>
<li><a
href="https://github.com/slackapi/slack-github-action/blob/HEAD/#proxying-https-requests-can-be-done-within-inputs">Proxying
HTTPS requests can be done within inputs</a></li>
</ul>
</li>
</ul>
</li>
<li><strong>Expected outputs</strong>
<ul>
<li>Breaking changes
<ul>
<li><a
href="https://github.com/slackapi/slack-github-action/blob/HEAD/#the-time-value-is-now-returned-as-the-unix-epoch-time">The
time value is now returned as the Unix epoch time</a></li>
</ul>
</li>
<li>Enhancements
<ul>
<li><a
href="https://github.com/slackapi/slack-github-action/blob/HEAD/#an-ok-value-is-added-to-represent-response-success">An
ok value is added to represent response success</a></li>
</ul>
</li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/slackapi/slack-github-action/commit/485a9d42d3a73031f12ec201c457e2162c45d02d"><code>485a9d4</code></a>
Release</li>
<li><a
href="https://github.com/slackapi/slack-github-action/commit/e598089eaef53883a2d9b325e044899548518a03"><code>e598089</code></a>
chore(release): tag version 2.0.0</li>
<li><a
href="https://github.com/slackapi/slack-github-action/commit/e9b3a6beef047e819b8fb417da538f97a93a2ec8"><code>e9b3a6b</code></a>
feat!: wrap payloads to send to a &quot;method&quot; with
&quot;token&quot; or &quot;webhook&quot; (<a
href="https://redirect.github.com/slackapi/slack-github-action/issues/333">#333</a>)</li>
<li><a
href="https://github.com/slackapi/slack-github-action/commit/74ae656892e6e68e5168be5fb5fc1368a5569b3b"><code>74ae656</code></a>
chore(release): tag version 1.27.1</li>
<li><a
href="https://github.com/slackapi/slack-github-action/commit/bd0e2818bf5e26dd18c03ce249d01eceb8e1cb04"><code>bd0e281</code></a>
build(deps): bump codecov/codecov-action from 4.5.0 to 4.6.0 (<a
href="https://redirect.github.com/slackapi/slack-github-action/issues/355">#355</a>)</li>
<li><a
href="https://github.com/slackapi/slack-github-action/commit/e1275295793d6d76cbc729c451b2e81dbf52ecaa"><code>e127529</code></a>
build(deps): bump <code>@​actions/core</code> from 1.10.1 to 1.11.1 (<a
href="https://redirect.github.com/slackapi/slack-github-action/issues/354">#354</a>)</li>
<li><a
href="https://github.com/slackapi/slack-github-action/commit/6b51022aeafdaaaccae849ca0a1b963ed597bf1f"><code>6b51022</code></a>
build(deps-dev): bump eslint-plugin-jsdoc from 50.3.1 to 50.4.3 (<a
href="https://redirect.github.com/slackapi/slack-github-action/issues/353">#353</a>)</li>
<li><a
href="https://github.com/slackapi/slack-github-action/commit/555e4ad8ef03a28151a2332aeba97ed5e3aeea37"><code>555e4ad</code></a>
build(deps-dev): bump eslint-plugin-import from 2.30.0 to 2.31.0 (<a
href="https://redirect.github.com/slackapi/slack-github-action/issues/352">#352</a>)</li>
<li><a
href="https://github.com/slackapi/slack-github-action/commit/8d4500e89ea2d0c66975b82ebffbca9da18ecefc"><code>8d4500e</code></a>
build(deps): bump <code>@​slack/web-api</code> from 7.5.0 to 7.7.0 (<a
href="https://redirect.github.com/slackapi/slack-github-action/issues/351">#351</a>)</li>
<li><a
href="https://github.com/slackapi/slack-github-action/commit/d0dece60f0be2ec50f76b5de480d355c020cd2e1"><code>d0dece6</code></a>
build(deps-dev): bump mocha from 10.7.3 to 10.8.2 (<a
href="https://redirect.github.com/slackapi/slack-github-action/issues/350">#350</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/slackapi/slack-github-action/compare/v1.27.0...v2.0.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=slackapi/slack-github-action&package-manager=github_actions&previous-version=1.27.0&new-version=2.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
github-merge-queue Bot pushed a commit that referenced this pull request Nov 25, 2024
…n` | `v1.x` backport) (#4532)

This PR fixes the Slack Notifications in GitHub Actions that got broken
after this [PR](#4505) got
merged.

#### PR checklist

- [ ] Tests written/updated
- [ ] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [ ] Updated relevant documentation (`docs/` or `spec/`) and code
comments
mergify Bot pushed a commit that referenced this pull request Nov 25, 2024
…n` | `v1.x` backport) (#4532)

This PR fixes the Slack Notifications in GitHub Actions that got broken
after this [PR](#4505) got
merged.

#### PR checklist

- [ ] Tests written/updated
- [ ] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [ ] Updated relevant documentation (`docs/` or `spec/`) and code
comments

(cherry picked from commit 23e0e9a)

# Conflicts:
#	.github/workflows/e2e-nightly-1x.yml
#	.github/workflows/notify-about-breaking-changes.yml
#	.github/workflows/test-slack-notification.yml
mergify Bot added a commit that referenced this pull request Dec 6, 2024
…n` | `v1.x` backport) (backport #4532) (#4540)

This PR fixes the Slack Notifications in GitHub Actions that got broken
after this [PR](#4505) got
merged.

#### PR checklist

- [ ] Tests written/updated
- [ ] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [ ] Updated relevant documentation (`docs/` or `spec/`) and code
comments
<hr>This is an automatic backport of pull request #4532 done by
[Mergify](https://mergify.com).

Co-authored-by: Andy Nogueira <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge dependencies Dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant