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:
parent
57e963fd79
commit
8ca5c7fbab
1 changed files with 11 additions and 4 deletions
15
.github/workflows/update-flake.yml
vendored
15
.github/workflows/update-flake.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue