From 1e9f58284b58a6f1a1a32fe3f9a9afaea47ab872 Mon Sep 17 00:00:00 2001 From: Rafal Kwasniewski Date: Thu, 9 Jan 2025 14:49:36 +0700 Subject: [PATCH] Move notifications to new channel --- .github/workflows/release.yml | 6 +++--- ci/jobs/picasso-master-release/Jenkinsfile | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 14b7a9e2e9..0f79b11111 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: 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/slack-github-action@v1.27.0 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 }} @@ -216,7 +216,7 @@ jobs: if: ${{ success() && steps.changesets.outputs.published != 'true'}} uses: slackapi/slack-github-action@v1.27.0 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 }} diff --git a/ci/jobs/picasso-master-release/Jenkinsfile b/ci/jobs/picasso-master-release/Jenkinsfile index 07411e920a..b689610b47 100644 --- a/ci/jobs/picasso-master-release/Jenkinsfile +++ b/ci/jobs/picasso-master-release/Jenkinsfile @@ -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 = '''[ {