workflows/manual-nixos: run on stable branches

There is no reason not to build the NixOS manual on stable branches as
well.

Also removing the restricted-eval, because it turned out not to be
necessary for the nixpkgs-manual either.
This commit is contained in:
Wolfgang Walther 2025-05-31 09:35:25 +02:00
parent f21e6d28b7
commit 7f6370832b
No known key found for this signature in database
GPG key ID: B39893FA5F65CAE1

View file

@ -7,6 +7,7 @@ on:
pull_request_target:
branches:
- master
- release-*
paths:
- "nixos/**"
# Also build when the nixpkgs doc changed, since we take things like
@ -52,7 +53,7 @@ jobs:
- name: Build NixOS manual
id: build-manual
run: NIX_PATH=nixpkgs=$(pwd)/untrusted nix-build --option restrict-eval true untrusted/ci -A manual-nixos --argstr system ${{ matrix.system }}
run: nix-build untrusted/ci -A manual-nixos --argstr system ${{ matrix.system }}
- name: Upload NixOS manual
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2