Skip to content

Commit e7d2732

Browse files
authored
tools: only check teams on the default branch
PR-URL: #55124 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent ac53a5b commit e7d2732

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/linters.yml

+1
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)