diff --git a/.github/workflows/update_flake.yml b/.github/workflows/update_flake.yml new file mode 100644 index 0000000..7fc29fe --- /dev/null +++ b/.github/workflows/update_flake.yml @@ -0,0 +1,20 @@ +name: update-flake-lock +on: + workflow_dispatch: # allows manual triggering + schedule: + - cron: '0 0 * * 1' # runs weekly on monday at 00:00 + +jobs: + lockfile: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Install Nix + uses: cachix/install-nix-action@v16 + + - name: Update flake.lock + uses: DeterminateSystems/update-flake-lock@v8 + with: + pr-title: "Update flake.lock" # Title of PR to be created