crun: 1.8.3 -> 1.8.4
[NixPkgs.git] / .github / workflows / check-maintainers-sorted.yaml
blobfc03988b068d3fd2c9e9360337ec16f427cc97db
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     runs-on: ubuntu-latest
13     if: github.repository_owner == 'NixOS'
14     steps:
15       - uses: actions/checkout@v3
16         with:
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
20         with:
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