fork/nix-minecraft

git clone https://git.julia.blue/fork/nix-minecraft

Infinidogemeta: limit lockfile updates to original repo70f8615

master
667 B25 linesraw
1name: Update package locks
2
3on:
4  schedule:
5    - cron: '0 0 * * *' # Daily at 00:00
6  workflow_dispatch: # Can be triggered manually as well
7
8jobs:
9  update:
10    name: Update lock files
11    runs-on: ubuntu-latest
12    if: github.repository_owner == 'Infinidoge'
13    steps:
14      - uses: cachix/install-nix-action@v18
15        with:
16          nix_path: nixpkgs=channel:nixos-unstable
17      - uses: actions/checkout@v3
18      - name: Run scripts
19        run: |
20          for script in pkgs/*/update.py; do
21            ./$script
22          done
23      - uses: stefanzweifel/git-auto-commit-action@v4
24        with:
25          commit_message: "[gha] update package lock files"