Skip to content

Commit

Permalink
[TAPS-436] Move notifications to new channel (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
pudek357 authored Jan 9, 2025
1 parent bd12ada commit 05826b1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,26 +101,26 @@ jobs:
if: ${{ failure() }}
uses: slackapi/[email protected]
with:
channel-id: '-frontend-exp-team-notifications'
slack-message: ":x: <!here> Current master version of davinci-github-actions is <${{ env.GITHUB_WORKFLOW_URL }}|broken>."
channel-id: 'frontend-notifications'
slack-message: ':x: <!here> Current master version of davinci-github-actions is <${{ env.GITHUB_WORKFLOW_URL }}|broken>.'
env:
SLACK_BOT_TOKEN: ${{ env.SLACK_BOT_TOKEN }}

- name: Send a Slack notification on success release
if: ${{ success() && steps.changesets.outputs.published == 'true' }}
uses: slackapi/[email protected]
with:
channel-id: '-frontend-exp-team-notifications'
slack-message: "Current master version of davinci-github-actions successfully released :green_heart:"
channel-id: 'frontend-notifications'
slack-message: 'Current master version of davinci-github-actions successfully released :green_heart:'
env:
SLACK_BOT_TOKEN: ${{ env.SLACK_BOT_TOKEN }}

- name: Send a Slack notification on success PR merge
if: ${{ success() && steps.changesets.outputs.published != 'true'}}
uses: slackapi/[email protected]
with:
channel-id: '-frontend-exp-team-notifications'
slack-message: "A new PR was merged to davinci-github-actions :parrotspin:"
channel-id: 'frontend-notifications'
slack-message: 'A new PR was merged to davinci-github-actions :parrotspin:'
env:
SLACK_BOT_TOKEN: ${{ env.SLACK_BOT_TOKEN }}

Expand Down

0 comments on commit 05826b1

Please sign in to comment.