Create update flake workflow

This commit is contained in:
Chris Dombroski 2024-04-24 17:48:45 -04:00 committed by Chris Dombroski
parent 947d778371
commit cbfa0c1a77

View file

@ -0,0 +1,17 @@
on:
schedule:
- cron: '0 2 * * *'
jobs:
lockfile:
runs-on: docker
steps:
- uses: actions/checkout@v4
- uses: https://github.com/DeterminateSystems/nix-installer-action@main
- run: 'git config --unset-all extensions.worktreeconfig'
- 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
GIT_COMMITTER_NAME: Chris Dombroski
GIT_COMMITTER_EMAIL: cdombroski@gmail.com
- run: 'git push'