[Backport release-26.05] .github: avoid full checkout on backport (#548494)

This commit is contained in:
Michael Daniels
2026-08-02 17:59:06 +00:00
committed by GitHub

View File

@@ -39,6 +39,8 @@ jobs:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
ref: ${{ github.event.pull_request.head.sha }}
# Avoid materializing full nixpkgs tree
sparse-checkout: .
token: ${{ steps.app-token.outputs.token }}
persist-credentials: true