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

19 lines
No EOL
660 B
YAML

on:
schedule:
- cron: '0 2 * * *'
jobs:
lockfile:
runs-on: docker
steps:
- uses: actions/checkout@v4
with:
ref: master
- uses: https://github.com/DeterminateSystems/nix-installer-action@main
- run: 'git config --unset-all extensions.worktreeconfig'
- run: 'nix flake update --commit-lock-file'
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'