nix-configs/.forgejo/workflows/update.yml

12 lines
425 B
YAML
Raw Normal View History

2024-04-24 17:48:45 -04:00
on:
2024-04-24 17:52:30 -04:00
push:
branches: 'master'
2024-04-24 17:48:45 -04:00
schedule:
- cron: '0 2 * * *'
jobs:
lockfile:
2024-04-24 21:25:48 -04:00
runs-on: docker
2024-04-24 17:48:45 -04:00
steps:
2024-04-24 21:22:37 -04:00
- uses: actions/checkout@v4
2024-04-24 21:33:38 -04:00
- uses: https://github.com/DeterminateSystems/nix-installer-action@main
2024-04-24 21:37:47 -04:00
- run: 'set -x; git config --unset-all extensions.worktreeconfig; nix flake update --commit-lock-file --commit-lockfile-summary "flake.lock: Update"; git push'