diff --git a/.github/workflows/presubmit.yml b/.github/workflows/presubmit.yml index 0a7f5e325..cb340813c 100644 --- a/.github/workflows/presubmit.yml +++ b/.github/workflows/presubmit.yml @@ -21,10 +21,10 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive - fetch-depth: 1 - fetch-tags: true - # We should not need other git commits, so removed - # fetch-depth: 0 + # If fetch-depth: 0 is not specified, then + # git describe --tags --dirty + # below fails. Is that actually needed? + fetch-depth: 0 # Ownerships in the working directory are odd. # . is owned by UID 1001, while repo files are owned by root