File tree Expand file tree Collapse file tree 1 file changed +67
-0
lines changed
Expand file tree Collapse file tree 1 file changed +67
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Announce SDK Release on Slack
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ update-changelog :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - name : Announce New Release in Slack
13+ 14+ with :
15+ channel-id : " C063MQJMKJN" # sdk-releases
16+ payload : |
17+ {
18+ "text": "New Release: Adobe Branch Extension - Android v${{ github.event.release.tag_name }}",
19+ "blocks": [
20+ {
21+ "type": "header",
22+ "text": {
23+ "type": "plain_text",
24+ "text": ":rocket: New Release: Adobe Branch Extension - Android v${{ github.event.release.tag_name }}",
25+ "emoji": true
26+ }
27+ },
28+ {
29+ "type": "divider"
30+ },
31+ {
32+ "type": "section",
33+ "text": {
34+ "type": "mrkdwn",
35+ "text": ":star: *What's New*"
36+ }
37+ },
38+ {
39+ "type": "section",
40+ "text": {
41+ "type": "mrkdwn",
42+ "text": ${{ toJSON(github.event.release.body) }}
43+ }
44+ },
45+ {
46+ "type": "divider"
47+ },
48+ {
49+ "type": "actions",
50+ "elements": [
51+ {
52+ "type": "button",
53+ "text": {
54+ "type": "plain_text",
55+ "text": ":git: GitHub Release",
56+ "emoji": true
57+ },
58+ "value": "github",
59+ "action_id": "github",
60+ "url": "${{ github.event.release.html_url }}"
61+ }
62+ ]
63+ }
64+ ]
65+ }
66+ env :
67+ SLACK_BOT_TOKEN : ${{ secrets.SLACK_SDK_BOT_TOKEN }}
You can’t perform that action at this time.
0 commit comments