2025-06-09 03:21:34 +03:00
|
|
|
on:
|
|
|
|
schedule:
|
2025-07-30 11:24:57 +03:00
|
|
|
- cron: '50 20 * * *'
|
2025-06-12 11:18:16 +03:00
|
|
|
workflow_dispatch:
|
2025-06-09 03:13:48 +03:00
|
|
|
jobs:
|
|
|
|
flake-lock-update:
|
|
|
|
runs-on: nixos-latest
|
|
|
|
steps:
|
2025-07-12 00:40:56 +03:00
|
|
|
- run: nix --experimental-features 'nix-command flakes' --connect-timeout 10 profile add nixpkgs#nodejs-slim
|
2025-06-09 03:13:48 +03:00
|
|
|
- uses: https://code.forgejo.org/actions/checkout@v4
|
2025-06-09 03:18:01 +03:00
|
|
|
- run: |
|
2025-06-09 03:21:34 +03:00
|
|
|
git config --global user.name 'Vili Sinervä'
|
|
|
|
git config --global user.email 'vili.m.sinerva@gmail.com'
|
2025-06-28 23:49:40 +03:00
|
|
|
- run: git pull
|
2025-06-09 03:18:01 +03:00
|
|
|
- run: nix --experimental-features 'nix-command flakes' flake update --commit-lock-file
|
2025-06-09 03:21:34 +03:00
|
|
|
- run: git push
|