Skip to content

Commit 24c4647

Browse files
aduh95louwers
authored andcommitted
tools: only check teams on the default branch
PR-URL: nodejs#55124 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent f65f676 commit 24c4647

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/linters.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ jobs:
186186
with:
187187
persist-credentials: false
188188
- name: Get team members if possible
189+
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 }}
189190
id: team_members
190191
run: |
191192
get_list_members() {

0 commit comments

Comments
 (0)