Skip to content

Commit 2b3646b

Browse files
Bump slackapi/slack-github-action from 1.27.0 to 2.0.0 (Eventual-Inc#3317)
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>
1 parent aea4ee3 commit 2b3646b

File tree

8 files changed

+20
-20
lines changed

8 files changed

+20
-20
lines changed

.github/workflows/broken-link-checker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
retry_on: error
2525
command: blc https://www.getdaft.io -ro --exclude www.pytorch.org/ --exclude https://github.com/Eventual-Inc/Daft/ --exclude https://twitter.com/daft_dataframe --exclude https://www.linkedin.com/company/eventualcomputing/
2626
- name: Send Slack notification on failure
27-
uses: slackapi/slack-github-action@v1.27.0
27+
uses: slackapi/slack-github-action@v2.0.0
2828
if: failure()
2929
with:
3030
payload: |

.github/workflows/daft-profiling.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
path: tpch-*.txt
8080

8181
- name: Send Slack notification on failure
82-
uses: slackapi/slack-github-action@v1.27.0
82+
uses: slackapi/slack-github-action@v2.0.0
8383
if: failure()
8484
with:
8585
payload: |

.github/workflows/nightlies-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
env:
5959
DAFT_RUNNER: ${{ matrix.daft-runner }}
6060
- name: Send Slack notification on failure
61-
uses: slackapi/slack-github-action@v1.27.0
61+
uses: slackapi/slack-github-action@v2.0.0
6262
if: ${{ failure() && (github.ref == 'refs/heads/main') }}
6363
with:
6464
payload: |
@@ -137,7 +137,7 @@ jobs:
137137
env:
138138
DAFT_RUNNER: ${{ matrix.daft-runner }}
139139
- name: Send Slack notification on failure
140-
uses: slackapi/slack-github-action@v1.27.0
140+
uses: slackapi/slack-github-action@v2.0.0
141141
if: ${{ failure() && (github.ref == 'refs/heads/main') }}
142142
with:
143143
payload: |

.github/workflows/notebook-checker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Run notebooks in tutorials
3232
run: find tutorials -name "*.ipynb" -print0 | xargs -0 -I {} papermill {} /tmp/out.ipynb -p CI True --kernel python3 --no-progress-bar --cwd /tmp/
3333
- name: Send Slack notification on failure
34-
uses: slackapi/slack-github-action@v1.27.0
34+
uses: slackapi/slack-github-action@v2.0.0
3535
if: failure()
3636
with:
3737
payload: |

.github/workflows/property-based-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
HYPOTHESIS_MAX_EXAMPLES: 10000
5555

5656
- name: Send Slack notification on failure
57-
uses: slackapi/slack-github-action@v1.27.0
57+
uses: slackapi/slack-github-action@v2.0.0
5858
if: failure()
5959
with:
6060
payload: |

.github/workflows/python-package.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ jobs:
143143
path: ./report-output
144144

145145
- name: Send Slack notification on failure
146-
uses: slackapi/slack-github-action@v1.27.0
146+
uses: slackapi/slack-github-action@v2.0.0
147147
if: ${{ failure() && (github.ref == 'refs/heads/main') }}
148148
with:
149149
payload: |
@@ -265,7 +265,7 @@ jobs:
265265
DAFT_RUNNER: ${{ matrix.daft-runner }}
266266

267267
- name: Send Slack notification on failure
268-
uses: slackapi/slack-github-action@v1.27.0
268+
uses: slackapi/slack-github-action@v2.0.0
269269
if: ${{ failure() && (github.ref == 'refs/heads/main') }}
270270
with:
271271
payload: |
@@ -341,7 +341,7 @@ jobs:
341341
env:
342342
DAFT_RUNNER: ${{ matrix.daft-runner }}
343343
- name: Send Slack notification on failure
344-
uses: slackapi/slack-github-action@v1.27.0
344+
uses: slackapi/slack-github-action@v2.0.0
345345
if: ${{ failure() && (github.ref == 'refs/heads/main') }}
346346
with:
347347
payload: |
@@ -437,7 +437,7 @@ jobs:
437437
env:
438438
DAFT_RUNNER: ${{ matrix.daft-runner }}
439439
- name: Send Slack notification on failure
440-
uses: slackapi/slack-github-action@v1.27.0
440+
uses: slackapi/slack-github-action@v2.0.0
441441
if: ${{ failure() }}
442442
with:
443443
payload: |
@@ -514,7 +514,7 @@ jobs:
514514
env:
515515
DAFT_RUNNER: ${{ matrix.daft-runner }}
516516
- name: Send Slack notification on failure
517-
uses: slackapi/slack-github-action@v1.27.0
517+
uses: slackapi/slack-github-action@v2.0.0
518518
if: ${{ failure() && (github.ref == 'refs/heads/main') }}
519519
with:
520520
payload: |
@@ -590,7 +590,7 @@ jobs:
590590
env:
591591
DAFT_RUNNER: ${{ matrix.daft-runner }}
592592
- name: Send Slack notification on failure
593-
uses: slackapi/slack-github-action@v1.27.0
593+
uses: slackapi/slack-github-action@v2.0.0
594594
if: ${{ failure() && (github.ref == 'refs/heads/main') }}
595595
with:
596596
payload: |
@@ -674,7 +674,7 @@ jobs:
674674
env:
675675
DAFT_RUNNER: native
676676
- name: Send Slack notification on failure
677-
uses: slackapi/slack-github-action@v1.27.0
677+
uses: slackapi/slack-github-action@v2.0.0
678678
if: ${{ failure() && (github.ref == 'refs/heads/main') }}
679679
with:
680680
payload: |
@@ -724,7 +724,7 @@ jobs:
724724
name: coverage-reports-rust-tests-${{ runner.os }}
725725
path: ./report-output
726726
- name: Send Slack notification on failure
727-
uses: slackapi/slack-github-action@v1.27.0
727+
uses: slackapi/slack-github-action@v2.0.0
728728
if: ${{ failure() && (github.ref == 'refs/heads/main') }}
729729
with:
730730
payload: |
@@ -828,7 +828,7 @@ jobs:
828828
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
829829
files: ./report-output/*
830830
- name: Send Slack notification on failure
831-
uses: slackapi/slack-github-action@v1.27.0
831+
uses: slackapi/slack-github-action@v2.0.0
832832
if: ${{ failure() && (github.ref == 'refs/heads/main') }}
833833
with:
834834
payload: |
@@ -909,7 +909,7 @@ jobs:
909909
python -c 'import daft; from daft import *'
910910
911911
- name: Send Slack notification on failure
912-
uses: slackapi/slack-github-action@v1.27.0
912+
uses: slackapi/slack-github-action@v2.0.0
913913
if: ${{ failure() && (github.ref == 'refs/heads/main') }}
914914
with:
915915
payload: |
@@ -976,7 +976,7 @@ jobs:
976976
pre-commit run --all-files
977977
978978
- name: Send Slack notification on failure
979-
uses: slackapi/slack-github-action@v1.27.0
979+
uses: slackapi/slack-github-action@v2.0.0
980980
if: ${{ failure() && (github.ref == 'refs/heads/main') }}
981981
with:
982982
payload: |

.github/workflows/python-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
path: dist
114114

115115
- name: Send Slack notification on failure
116-
uses: slackapi/slack-github-action@v1.27.0
116+
uses: slackapi/slack-github-action@v2.0.0
117117
if: ${{ failure() && (github.ref == 'refs/heads/main') }}
118118
with:
119119
payload: |
@@ -188,7 +188,7 @@ jobs:
188188
upload_wheels
189189
190190
- name: Send Slack notification on failure
191-
uses: slackapi/slack-github-action@v1.27.0
191+
uses: slackapi/slack-github-action@v2.0.0
192192
if: failure()
193193
with:
194194
payload: |

.github/workflows/ray-compatibility.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
DAFT_RUNNER: ray
6868

6969
- name: Send Slack notification on failure
70-
uses: slackapi/slack-github-action@v1.27.0
70+
uses: slackapi/slack-github-action@v2.0.0
7171
if: failure()
7272
with:
7373
payload: |

0 commit comments

Comments
 (0)