Update package locks #1085
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Update package locks | |
| on: | |
| schedule: | |
| - cron: '0 0 * * *' # Daily at 00:00 | |
| workflow_dispatch: # Can be triggered manually as well | |
| jobs: | |
| update: | |
| name: Update lock files | |
| runs-on: ubuntu-latest | |
| if: github.repository_owner == 'Infinidoge' | |
| steps: | |
| - uses: cachix/install-nix-action@v18 | |
| with: | |
| nix_path: nixpkgs=channel:nixos-unstable | |
| - uses: actions/checkout@v3 | |
| - name: Run scripts | |
| run: | | |
| for script in pkgs/*/update.py; do | |
| ./$script | |
| done | |
| - uses: stefanzweifel/git-auto-commit-action@v4 | |
| with: | |
| commit_message: "[gha] update package lock files" |