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

17 lines
No EOL
659 B
YAML

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'