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

17 lines
659 B
YAML
Raw Normal View History

2024-04-24 17:48:45 -04:00
on:
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:44:06 -04:00
- run: 'git config --unset-all extensions.worktreeconfig'
2024-04-24 21:54:42 -04:00
- run: 'nix flake update --commit-lock-file --commit-lockfile-summary "flake.lock: Update"'
env:
GIT_AUTHOR_NAME: Chris Dombroski
GIT_AUTHOR_EMAIL: cdombroski@gmail.com
2024-04-24 21:57:11 -04:00
GIT_COMMITTER_NAME: Chris Dombroski
GIT_COMMITTER_EMAIL: cdombroski@gmail.com
2024-04-24 21:54:42 -04:00
- run: 'git push'