From c796688fafc70cbb9c25b9edd406918e6fdb77f9 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Fri, 5 Aug 2022 23:03:12 +0200 Subject: [PATCH] Automatic flake update --- .github/workflows/update-flake.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/update-flake.yml diff --git a/.github/workflows/update-flake.yml b/.github/workflows/update-flake.yml new file mode 100644 index 0000000..32ae2f4 --- /dev/null +++ b/.github/workflows/update-flake.yml @@ -0,0 +1,19 @@ +name: Update Flake + +on: + schedule: + - cron: '0 8 * * *' + workflow_dispatch: + +jobs: + update-flake: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: cachix/install-nix-action@v16 + with: + nix_path: nixpkgs=channel:nixpkgs-unstable + - run: nix flake update --recreate-lock-file + - uses: stefanzweifel/git-auto-commit-action@v4 + with: + commit_message: "[automation] Update flake"