From ff1ad6e497c07469fe9053cc03f448670f0eb960 Mon Sep 17 00:00:00 2001 From: Saloni Shah Date: Fri, 1 Nov 2024 16:29:30 -0400 Subject: [PATCH] [AN-1][AN-212] Automerge GHA reflects new teams and their Jira prefix (#4799) --- .github/workflows/automerge.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index 45c4c2d307d..89df37a7779 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -45,12 +45,10 @@ jobs: - name: Match the PR to the corresponding team's slack notification channel id: prepare-outputs run: | - if ${{ contains(github.event.pull_request.title, 'WM-') }}; then - echo 'notify-failure-channel=dsp-workflows' >> $GITHUB_OUTPUT - elif ${{ contains(github.event.pull_request.title, 'WX-') }}; then - echo 'notify-failure-channel=dsp-workflows' >> $GITHUB_OUTPUT - else ${{ contains(github.event.pull_request.title, 'AJ-') }}; - echo 'notify-failure-channel=dsp-analysis-journeys' >> $GITHUB_OUTPUT + if ${{ contains(github.event.pull_request.title, 'AN-') }}; then + echo 'notify-failure-channel=dsp-analysis-non-prod-alerts' >> $GITHUB_OUTPUT + else ${{ contains(github.event.pull_request.title, 'CORE-') }}; + echo 'notify-failure-channel=dsp-core-services' >> $GITHUB_OUTPUT fi report-workflow: