mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
Optimize check-maintainers-sorted workflow with sparse checkout
Only lib and maintainers directories are needed to perform the check.
This commit is contained in:
parent
b493bc2d35
commit
1ec2e2cf1c
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue