diff --git a/.forgejo/workflows/flake-lock-update.yaml b/.forgejo/workflows/flake-lock-update.yaml index 1f3051b..151f298 100644 --- a/.forgejo/workflows/flake-lock-update.yaml +++ b/.forgejo/workflows/flake-lock-update.yaml @@ -1,4 +1,6 @@ -on: [push] +on: + schedule: + - cron: '@hourly' jobs: flake-lock-update: runs-on: nixos-latest @@ -6,7 +8,7 @@ jobs: - run: nix --experimental-features 'nix-command flakes' profile install nixpkgs#nodejs-slim - uses: https://code.forgejo.org/actions/checkout@v4 - run: | - git config --global user.name "Vili Sinervä" - git config --global user.email "vili.m.sinerva@gmail.com" + git config --global user.name 'Vili Sinervä' + git config --global user.email 'vili.m.sinerva@gmail.com' - run: nix --experimental-features 'nix-command flakes' flake update --commit-lock-file - run: git push \ No newline at end of file