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

17 lines
580 B
YAML
Raw Normal View History

2024-04-24 17:48:45 -04:00
on:
2024-04-24 17:52:30 -04:00
push:
branches: 'master'
2024-04-24 17:48:45 -04:00
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
- run: 'git push'