Skip to content

Commit

Permalink
Create notify.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
arvkmr authored Jan 3, 2024
1 parent 2284336 commit f86d7d3
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Slack Notification on Release

on:
release:
types:
- published
workflow_dispatch:

jobs:
notify-slack:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: slack-send
uses: slackapi/[email protected]
with:
channel-id: sdk-releases
slack-message: |
New release: [iOS SDK: ${{ github.event.release.tag_name }}](${{ github.event.release.html_url }})
Repository: ${{ github.repository }}
Author: ${{ github.event.release.author.login }}
Release Notes: ${{ github.event.release.body }}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}

0 comments on commit f86d7d3

Please sign in to comment.