nixos-conf/.forgejo/workflows/flake-lock-update.yaml
2025-06-10 23:46:37 +03:00

14 lines
517 B
YAML

on:
schedule:
- cron: '0 21 * * *'
jobs:
flake-lock-update:
runs-on: nixos-latest
steps:
- 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'
- run: nix --experimental-features 'nix-command flakes' flake update --commit-lock-file
- run: git push