Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,33 @@ jobs:
RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
- name: Publish Gem
run: rake publish_gem
notify-release:
runs-on: ubuntu-latest
name: Notify Release
strategy:
matrix:
url: [SLACK_WEBHOOK_ASK_DEVREL_URL, SLACK_WEBHOOK_DEVREL_TOOLING_URL, SLACK_WEBHOOK_DEVREL_PRIVATE_URL]
steps:
- name: Send to slack channels
uses: slackapi/slack-github-action@v2.0.0
if: always();
continue-on-error: true
with:
webhook: ${{ secrets[matrix.url]}}
webhook-type: incoming-webhook
errors: true
payload: |
blocks:
- type: "header"
text:
type: "plain_text"
text: ":initial_external_notification_sent: :ruby: Version ${{ github.event.release.name }} of the Ruby SDK has been released"
- type: "section"
text:
type: "mrkdwn"
text: "${{ github.event.release.body }}"
- type: "divider"
- type: "section"
text:
type: "mrkdwn"
text: "You can view the full change log <${{github.event.release.html_url }}|here>"
Loading