name: Update mods on: schedule: # run daily at 0:00 utc - cron: "0 0 * * *" workflow_dispatch: permissions: contents: write jobs: update-mods: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.3.0 - uses: cachix/install-nix-action@v20 - name: update run: | echo "y" | nix run nixpkgs#packwiz -- update --all - name: commit changes uses: EndBug/add-and-commit@v9 with: default_author: github_actions message: "chore: update mods"