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

19 lines
660 B
YAML
Raw Normal View History

2024-04-24 17:48:45 -04:00
on:
schedule:
- cron: '0 2 * * *'
jobs:
lockfile:
runs-on: docker
steps:
- uses: actions/checkout@v4
2024-06-26 08:25:05 -04:00
with:
ref: master
2024-04-24 17:48:45 -04:00
- uses: https://github.com/DeterminateSystems/nix-installer-action@main
- run: 'git config --unset-all extensions.worktreeconfig'
2024-07-18 16:55:07 -04:00
- run: 'nix flake update --commit-lock-file'
2024-04-24 17:48:45 -04:00
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'