[fix] ci: scheduled update not working
All checks were successful
/ check (push) Successful in 31s
/ build (audiomenu) (push) Successful in 2s
/ build (docs) (push) Successful in 3s
/ build (jpassmenu) (push) Successful in 2s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 26s
/ build (nvim) (push) Successful in 17s
/ update-lockfile (push) Successful in 35s

This commit is contained in:
Jalil David Salamé Messina 2024-07-21 16:26:55 +02:00
parent 9ecdc662bc
commit 6d0989f44f
Signed by: jalil
GPG key ID: F016B9E770737A0B

View file

@ -26,15 +26,14 @@ jobs:
update-lockfile:
needs: [check build]
runs-on: nixos
if: github.event_name == 'schedule'
# if: github.event_name == 'schedule'
steps:
- uses: "https://code.forgejo.org/actions/checkout@v4"
- run: nix --version
- run: nix flake update
- name: nix flake update
run: |
git config user.name 'forgejo-actions'
git config user.email 'forgejo-actions@noreply.salame.cl'
nix flake update --commit-lock-file --option commit-lockfile-summary '[chore] flake.lock: update inputs'
- run: nix flake check --keep-going --verbose
- run: git push
nix flake check --keep-going --verbose
git show