fritz-exporter: 2.5.0 -> 2.5.1
[NixPkgs.git] / .github / workflows / check-maintainers-sorted.yaml
blob7092cf3fee3824f6eacd74ee222d0f01bd7d7342
1 name: "Check that maintainer list is sorted"
3 on:
4   pull_request_target:
5     paths:
6       - 'maintainers/maintainer-list.nix'
7 permissions:
8   contents: read
10 jobs:
11   nixos:
12     name: maintainer-list-check
13     runs-on: ubuntu-latest
14     if: github.repository_owner == 'NixOS'
15     steps:
16       - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
17         with:
18           # pull_request_target checks out the base branch by default
19           ref: refs/pull/${{ github.event.pull_request.number }}/merge
20           # Only these directories to perform the check
21           sparse-checkout: |
22             lib
23             maintainers
24       - uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 # v30
25         with:
26           # explicitly enable sandbox
27           extra_nix_config: sandbox = true
28       - name: Check that maintainer-list.nix is sorted
29         run: nix-instantiate --eval maintainers/scripts/check-maintainers-sorted.nix