File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -179,11 +179,11 @@ def get_commit_files():
179
179
'''
180
180
if _is_github_event():
181
181
if _is_pull_request():
182
- output = _get_output(f'git diff --name-status remotes/origin/{os.environ["GITHUB_BASE_REF"]}..remotes/origin/{os.environ["GITHUB_HEAD_REF"]} --')
182
+ output = _get_output(f'git diff --ignore-submodules -- name-status remotes/origin/{os.environ["GITHUB_BASE_REF"]}..remotes/origin/{os.environ["GITHUB_HEAD_REF"]} --')
183
183
else:
184
- output = _get_output('git diff --name-status HEAD~.. --')
184
+ output = _get_output('git diff --ignore-submodules -- name-status HEAD~.. --')
185
185
else:
186
- output = _get_output('git diff-index HEAD --cached')
186
+ output = _get_output('git diff-index --ignore-submodules HEAD --cached')
187
187
result = defaultdict(list)
188
188
for line in output.splitlines():
189
189
parts = line.split()
You can’t perform that action at this time.
0 commit comments