Merge pull request #302209 from willbush/workflows/sparse-checkout-maintainers-list-sort-check

Optimize check-maintainers-sorted workflow with sparse checkout
This commit is contained in:
Thomas Gerbet
2024-04-07 20:22:26 +02:00
committed by GitHub
@@ -16,6 +16,10 @@ jobs:
with:
# pull_request_target checks out the base branch by default
ref: refs/pull/${{ github.event.pull_request.number }}/merge
# Only these directories to perform the check
sparse-checkout: |
lib
maintainers
- uses: cachix/install-nix-action@8887e596b4ee1134dae06b98d573bd674693f47c # v26
with:
# explicitly enable sandbox