Skip to content

Commit 8a3f8d6

Browse files
committed
Merge branch 'main' into get_pricing_detail
2 parents 6a1645c + 37a77e0 commit 8a3f8d6

File tree

215 files changed

+20480
-7499
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

215 files changed

+20480
-7499
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
name: Release Notification
3+
4+
on:
5+
release:
6+
types: [published] # Trigger on new releases being published
7+
8+
jobs:
9+
slack_notification:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Send Release Details to Slack
13+
uses: slackapi/[email protected] # Or the latest version of this action
14+
with:
15+
payload: |
16+
{
17+
"release_name": "${{ github.event.release.name }}",
18+
"tag_name": "${{ github.event.release.tag_name }}",
19+
"release_url": "${{ github.event.release.html_url }}",
20+
"author_name": "${{ github.event.release.author.login }}",
21+
"repository_name": "${{ github.event.repository.name }}",
22+
"repository_url": "${{ github.event.repository.html_url }}",
23+
"release_description": ${{ toJSON(github.event.release.body) }}
24+
}
25+
env:
26+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # Use the secret for the webhook URL

0 commit comments

Comments
 (0)