From aa3e38eebd874c39c2f21204ab0d09ec271dd6d9 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Wed, 18 Jun 2025 11:29:07 -0400 Subject: [PATCH] Update update-flake-lock --- .github/workflows/update.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 181769a..336906b 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -1,24 +1,24 @@ -name: update-flake-lock +name: "Flake.lock: update Nix dependencies" on: - workflow_dispatch: + workflow_dispatch: # allows manual triggering schedule: - - cron: "0 0 * * 0" + - cron: '0 0 * * 0' # runs weekly on Sunday at 00:00 jobs: - lockfile: - runs-on: ubuntu-latest + nix-flake-update: permissions: + contents: write id-token: write - contents: read + issues: write + pull-requests: write + runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Install Determinate Nix - uses: DeterminateSystems/determinate-nix-action@v3 - - name: Enable FlakeHub Cache - uses: DeterminateSystems/flakehub-cache-action@main - - name: Update flake.lock - uses: ./. + - uses: actions/checkout@v4 + - uses: DeterminateSystems/determinate-nix-action@v3 + - uses: DeterminateSystems/update-flake-lock@main with: - _internal-strict-mode: true + pr-title: "Update Nix flake inputs" # Title of PR to be created + pr-labels: | # Labels to be set on the PR + dependencies + automated