From 1628871bc216c708803376b83d2f4de05cafe4c0 Mon Sep 17 00:00:00 2001 From: Sora Morimoto Date: Thu, 19 Dec 2024 23:38:50 +0900 Subject: [PATCH] ci: add update-flake-lock workflow (#1424) Signed-off-by: Sora Morimoto --- .github/workflows/update-flake-lock.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/update-flake-lock.yml diff --git a/.github/workflows/update-flake-lock.yml b/.github/workflows/update-flake-lock.yml new file mode 100644 index 000000000..f62bcd9fa --- /dev/null +++ b/.github/workflows/update-flake-lock.yml @@ -0,0 +1,21 @@ +name: Update Nix Flake Lock + +on: + workflow_dispatch: + schedule: + - cron: 0 0 * * 0 + +jobs: + lockfile: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + - uses: cachix/install-nix-action@v30 + with: + nix_path: nixpkgs=channel:nixos-unstable + - uses: DeterminateSystems/update-flake-lock@v24 + with: + pr-labels: | + dependencies + no changelog