1 name: "Check that maintainer list is sorted"
6 - 'maintainers/maintainer-list.nix'
12 runs-on: ubuntu-latest
13 if: github.repository_owner == 'NixOS'
15 - uses: actions/checkout@v3
17 # pull_request_target checks out the base branch by default
18 ref: refs/pull/${{ github.event.pull_request.number }}/merge
19 - uses: cachix/install-nix-action@v20
21 # explicitly enable sandbox
22 extra_nix_config: sandbox = true
23 - name: Check that maintainer-list.nix is sorted
24 run: nix-instantiate --eval maintainers/scripts/check-maintainers-sorted.nix