microsoft/codeql-container

Get the latest commit instead of cloning everything

RA80533 opened this issue · 0 comments

# get the latest codeql queries and record the HEAD

The comment implies that only the latest commit is necessary to build the image. Since the CodeQL repository has an exceptionally large number of commits, it takes a significant amount of time to actually clone the project. In whole, there's some ~70 MB of files downloaded if a full clone takes place. A shallow clone of --depth 1 only is ~15 MB.