From af5a73e5df4b59cba7da0c67b2a881c7b66d65cb Mon Sep 17 00:00:00 2001 From: Callum Leslie Date: Wed, 4 Sep 2024 10:32:07 +0100 Subject: [PATCH] ci: flake updates --- .github/workflows/update-flake.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 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..36eed77 --- /dev/null +++ b/.github/workflows/update-flake.yml @@ -0,0 +1,22 @@ +name: Update flake inputs +on: + schedule: + # Sunday and Wednesday + - cron: "51 3 * * 0,3" + workflow_dispatch: + +jobs: + update: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Install Nix + uses: cachix/install-nix-action@v27 + - name: Update flake.lock + uses: DeterminateSystems/update-flake-lock@v23 + with: + token: ${{ secrets.GH_TOKEN_FOR_UPDATES }} + pr-labels: | + dependencies + automated