ci: update-flake: continue on all-maintainers failure (#1986)

Link: https://github.com/nix-community/stylix/pull/1986

Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
0xda157 2025-11-21 05:17:55 -10:00 committed by GitHub
parent 57e963fd79
commit 8ca5c7fbab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,11 +68,18 @@ jobs:
# The nixpkgs maintainers may have changed, so keep all-maintainers
# in sync
nix run .#all-maintainers
if nix run .#all-maintainers; then
git add generated/all-maintainers.nix
git add generated/all-maintainers.nix
git commit --message "stylix: update all-maintainers list" ||
echo "generated/all-maintainers.nix has no changes"
if
! git commit --message "stylix: update all-maintainers list"
then
echo "::debug::generated/all-maintainers.nix has no changes"
fi
else
echo "::error::failed to update generated/all-maintainers.nix"
fi
- name: create pull request
env: