mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Revert "[lint][CI] Don't checkout submodules for lintrunner-noclang (#162844)"
This reverts commit 6b231af23d.
Reverted https://github.com/pytorch/pytorch/pull/162844 on behalf of https://github.com/wdvr due to seems to be needed after all - failing lint ([comment](https://github.com/pytorch/pytorch/pull/162844#issuecomment-3293465058))
This commit is contained in:
parent
8e05749d5c
commit
fa919feab6
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
|
# 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
|
# to run git rev-parse HEAD~:.ci/docker when a new image is needed
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
submodules: false
|
submodules: true
|
||||||
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
|
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
|
||||||
script: |
|
script: |
|
||||||
CHANGED_FILES="${{ needs.get-changed-files.outputs.changed-files }}"
|
CHANGED_FILES="${{ needs.get-changed-files.outputs.changed-files }}"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user