nixos-conf/.forgejo/workflows/flake-lock-update.yaml

15 lines
538 B
YAML

on:
schedule:
- cron: '0 21 * * *'
workflow_dispatch:
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