Skip to content

Commit

Permalink
[TAPS-436] Move notifications to new channel (#4636)
Browse files Browse the repository at this point in the history
  • Loading branch information
pudek357 authored Jan 9, 2025
1 parent 08f61ed commit 91b6773
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,14 +200,14 @@ jobs:
FAILURE_URL: ${{ steps.trigger-deploy.outputs.jenkins_job_url || steps.trigger-build.outputs.jenkins_job_url }}
FALLBACK_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}?check_suite_focus=true
with:
channel-id: "-frontend-exp-team-notifications"
channel-id: "frontend-notifications"
slack-message: ":x: <!here> Current master version of Picasso is <${{ env.FAILURE_URL || env.FALLBACK_URL }}|broken>."

- 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"
channel-id: "frontend-notifications"
slack-message: "Current master version of Picasso successfully released :green_heart:"
env:
SLACK_BOT_TOKEN: ${{ env.SLACK_BOT_TOKEN }}
Expand All @@ -216,7 +216,7 @@ jobs:
if: ${{ success() && steps.changesets.outputs.published != 'true'}}
uses: slackapi/[email protected]
with:
channel-id: "-frontend-exp-team-notifications"
channel-id: "frontend-notifications"
slack-message: "A new PR was merged to Picasso :parrotspin:"
env:
SLACK_BOT_TOKEN: ${{ env.SLACK_BOT_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion ci/jobs/picasso-master-release/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ pipeline {

message = "Hey, everything is fine, I wanted to do a release but I didn't find any suitable commits which should trigger a new version."
attachments = data.replace('{VERSION}', NEW_VERSION)
slackSend color: 'good', channel: '-frontend-exp-team-notifications', attachments: attachments, message: message
slackSend color: 'good', channel: 'frontend-notifications', attachments: attachments, message: message
} else {
data = '''[
{
Expand Down

0 comments on commit 91b6773

Please sign in to comment.