Skip to content

Commit d484a01

Browse files
committed
Add Slack notification for release
1 parent ce2274f commit d484a01

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

Diff for: .github/workflows/ci.yml

+21
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,27 @@ jobs:
229229
--generate-notes \
230230
--notes-file $RELEASE_NOTES_FILE
231231
232+
- name: Announce Release on Slack
233+
id: spring-pulsar-announcing
234+
uses: slackapi/[email protected]
235+
with:
236+
payload: |
237+
{
238+
"text": "spring-pulsar-announcing `${{ env.VERSION }}` is available now",
239+
"blocks": [
240+
{
241+
"type": "section",
242+
"text": {
243+
"type": "mrkdwn",
244+
"text": "spring-pulsar-announcing `${{ env.VERSION }}` is available now"
245+
}
246+
}
247+
]
248+
}
249+
env:
250+
SLACK_WEBHOOK_URL: ${{ secrets.SPRING_RELEASE_SLACK_WEBHOOK_URL }}
251+
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
252+
232253
- name: Update next snapshot version
233254
run: |
234255
echo "Updating $REPO@$VERSION to next snapshot version."

0 commit comments

Comments
 (0)