electron-source.electron_29: remove as it's EOL
[NixPkgs.git] / .github / workflows / check-maintainers-sorted.yaml
blobf9e744a6a0c59f9fbdda5e881964d2e740e5817c
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
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@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b # v27
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