[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:
Catherine Lee 2025-09-15 17:29:31 +00:00 committed by PyTorch MergeBot
parent 19a4ef0256
commit 6b231af23d

View File

@ -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 }}"