-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TAPS-436] Move notifications to new channel (#374)
- Loading branch information
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }} | ||
|
||
|