stop notifying batch changes team if "campaign" is mentioned (#43207)

Campaigns was an old name (pre-GA) for Batch Changes. It no longer makes sense to notify that team if the word "campaign" is used, especially since the Growth Marketing team will probably be using it more in issues (which is a false positive).
This commit is contained in:
Quinn Slack 2022-10-19 15:16:35 -07:00 committed by GitHub
parent 8f5414ad0d
commit 99ab15bafd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions-ecosystem/action-create-comment@v1
if: (contains(github.event.issue.body, 'batch') || contains(github.event.issue.body, 'campaign')) && !contains(github.event.issue.labels.*.name, 'team/batchers')
if: (contains(github.event.issue.body, 'batch') && !contains(github.event.issue.labels.*.name, 'team/batchers')
with:
github_token: ${{ secrets.github_token }}
body: |