From c0fe082af4d8a0c4312e9d486057eab16255d7dc Mon Sep 17 00:00:00 2001 From: Will <83637728+wi11-holdsworth@users.noreply.github.com> Date: Wed, 22 Oct 2025 01:26:26 +1100 Subject: [PATCH] Add workflow for updating Nix dependencies --- .github/workflows/main.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..a3d9f58 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,24 @@ +name: "Flake.lock: update Nix dependencies" + +on: + workflow_dispatch: # allows manual triggering + schedule: + - cron: '0 16 * * *' # runs weekly on Sunday at 00:00 + +jobs: + nix-flake-update: + permissions: + contents: write + id-token: write + issues: write + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: DeterminateSystems/determinate-nix-action@v3 + - uses: DeterminateSystems/update-flake-lock@main + with: + pr-title: "Update Nix flake inputs" + pr-labels: | + dependencies + automated