Commit 3906698
authored
ci: announce releases on Slack from the release workflow (#75)
* ci: announce releases on Slack from the release workflow
When changesets/action reports a package was published, resolve the
release URL from publishedPackages and post to the Slack Workflow
Builder trigger via slackapi/slack-github-action (webhook-trigger
mode). Mirrors the pattern in slackapi/node-slack-sdk's release.yml.
Both new steps gate on steps.changesets.outputs.published == 'true',
so nothing fires on the "opens/updates the release PR" runs — only on
the run that follows merging that PR.
Also updates the maintainers guide so step 5 reflects that the Slack
announcement is now automated.
* chore: clarify changeset audience is the internal maintainers channel
* ci: simplify publication-details step to match bolt-js pattern
Replace the jq-templated tag URL with `gh release view --json url`, and
switch the message shape to `jq | paste -sd ', ' -`. Same behavior for
a single-package release (`slack@<version>`), less indirection, and
matches slackapi/bolt-js/release.yml:107-108.
Also renames the URL output from `action_url` to `url` to match the
same reference, and threads `GH_TOKEN` into the step's env so `gh`
can auth.1 parent 98479ec commit 3906698
3 files changed
Lines changed: 26 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
| 91 | + | |
93 | 92 | | |
94 | 93 | | |
95 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
0 commit comments