We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 099d5fd commit dd1cb2dCopy full SHA for dd1cb2d
1 file changed
.github/workflows/on-release.yml
@@ -0,0 +1,24 @@
1
+name: Post release announcements
2
+
3
+on:
4
+ release:
5
+ types:
6
+ - published
7
8
+jobs:
9
+ slack-notification:
10
+ name: Share recent changes with a channel
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Send release notification
14
+ uses: slackapi/slack-github-action@v2.1.1
15
+ with:
16
+ webhook: ${{ secrets.SLACK_WEBHOOK_RELEASE_URL }}
17
+ webhook-type: webhook-trigger
18
+ payload: |
19
+ {
20
+ "name": ${{ toJSON(github.event.release.name) }},
21
+ "version": "${{ github.event.release.tag_name }}",
22
+ "body": ${{ toJSON(github.event.release.body) }},
23
+ "url": "${{ github.event.release.html_url }}"
24
+ }
0 commit comments