tools: only check teams on the default branch

PR-URL: https://github.com/nodejs/node/pull/55124
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Antoine du Hamel authored and Michaël Zasso committed 2024-10-04 19:20:17 +02:00
1 parent 942ad54e08
commit 7982d3d4ed
1 file changed
+1
+1
View File
@@ -186,6 +186,7 @@ jobs:
with:
persist-credentials: false
- name: Get team members if possible
if: ${{ (github.event.pull_request && github.event.pull_request.base.ref == github.event.pull_request.base.repo.default_branch) || github.event.ref == github.event.repository.default_branch }}
id: team_members
run: |
get_list_members() {