From 0160a0cef076294127f8cc0750019410ab94370d Mon Sep 17 00:00:00 2001 From: Imran Hossain Date: Mon, 22 Aug 2022 16:49:13 -0400 Subject: [PATCH] Add flake.lock & workflow to update it (#1934) --- .github/workflows/update-flake.yml | 20 ++++++++++++++++++++ 1 file changed, 20 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 00000000..4df74a69 --- /dev/null +++ b/.github/workflows/update-flake.yml @@ -0,0 +1,20 @@ +name: Update flake inputs +on: + schedule: + # Update every Sunday and Wednesday + - cron: "51 3 * * 0,3" + workflow_dispatch: + +jobs: + update: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3 + - name: Install Nix + uses: cachix/install-nix-action@v17 + - name: Update flake.lock + uses: DeterminateSystems/update-flake-lock@v9 + with: + token: ${{ secrets.GH_TOKEN_FOR_UPDATES }} + pr-labels: dependencies