mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 00:20:18 +01:00
[lint][CI] Don't checkout submodules for lintrunner-noclang (#162844)
Shouldn't be needed? Pull Request resolved: https://github.com/pytorch/pytorch/pull/162844 Approved by: https://github.com/huydhn
This commit is contained in:
parent
19a4ef0256
commit
6b231af23d
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
|
|
@ -105,7 +105,7 @@ jobs:
|
|||
# NB: A shallow checkout won't work here because calculate-docker-image requires a full checkout
|
||||
# to run git rev-parse HEAD~:.ci/docker when a new image is needed
|
||||
fetch-depth: 0
|
||||
submodules: true
|
||||
submodules: false
|
||||
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
|
||||
script: |
|
||||
CHANGED_FILES="${{ needs.get-changed-files.outputs.changed-files }}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user