Skip to content

Commit

Permalink
[AN-1][AN-212] Automerge GHA reflects new teams and their Jira prefix (
Browse files Browse the repository at this point in the history
  • Loading branch information
salonishah11 authored Nov 1, 2024
1 parent 7769b54 commit ff1ad6e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ff1ad6e

Please sign in to comment.