Skip to content

Commit 7982d3d

Browse files
aduh95targos
authored andcommitted
tools: only check teams on the default branch
PR-URL: #55124 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 942ad54 commit 7982d3d

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)