[ci] Only notify discord on core team label

Rather than notify on every label event on a PR by a core team member, only do so for the specific core team label event.
This commit is contained in:
Lauren Tan
2025-02-03 11:58:50 -05:00
parent 10a4c88f58
commit 66d87ee7d7
2 changed files with 2 additions and 2 deletions
@@ -14,7 +14,7 @@ jobs:
actor: ${{ github.event.pull_request.user.login }}
notify:
if: ${{ needs.check_maintainer.outputs.is_core_team == 'true' }}
if: ${{ needs.check_maintainer.outputs.is_core_team == 'true' && github.event.label.name == 'React Core Team' }}
needs: check_maintainer
runs-on: ubuntu-latest
steps:
+1 -1
View File
@@ -14,7 +14,7 @@ jobs:
actor: ${{ github.event.pull_request.user.login }}
notify:
if: ${{ needs.check_maintainer.outputs.is_core_team == 'true' }}
if: ${{ needs.check_maintainer.outputs.is_core_team == 'true' && github.event.label.name == 'React Core Team' }}
needs: check_maintainer
runs-on: ubuntu-latest
steps: