diff options
| author | seth <[email protected]> | 2023-03-03 01:03:28 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-03-03 01:03:28 -0500 |
| commit | a983cd66f93d4621622b75f30e9905d1da25020a (patch) | |
| tree | 019305e9c3320978d657267158ca4be8d3b827d9 | |
| parent | a902e73e617835418b6f78b9724ed1b67b6d032e (diff) | |
start autoupdating nixpkgs inputs
| -rw-r--r-- | .github/workflows/update.yml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml new file mode 100644 index 0000000..d37d8ed --- /dev/null +++ b/.github/workflows/update.yml @@ -0,0 +1,28 @@ +name: update nixpkgs inputs + +on: + schedule: + - cron: "0 0 * * *" + workflow_dispatch: + +jobs: + update-lock: + runs-on: ubuntu-latest + + steps: + - name: checkout repo + uses: actions/checkout@v3 + + - name: install nix + uses: cachix/install-nix-action@v20 + with: + github_access_token: ${{ secrets.GITHUB_TOKEN }} + + - name: update inputs + run: nix flake lock --update-input nixpkgs --update-input nixpkgsUnstable + + - name: add and commit + uses: EndBug/add-and-commit@v9 + with: + default_author: github_actions + message: "chore: update nixpkgs inputs" |
