From ebcf61453735712a2a1a3a52806574a659071507 Mon Sep 17 00:00:00 2001 From: Mo <65728018+Moe1369@users.noreply.github.com> Date: Wed, 11 Mar 2026 21:15:30 +0100 Subject: [PATCH] Refactor update workflow for flake management Updated workflow to use flake-checker and update-flake-lock actions instead of direct flake update and PR creation steps. --- .github/workflows/update.yml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 2c050c9..429ba49 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -8,17 +8,14 @@ jobs: update: runs-on: ubuntu-latest permissions: - contents: write # needed to push the branch - pull-requests: write # needed to create the PR + contents: write + pull-requests: write steps: - uses: actions/checkout@v4 - uses: DeterminateSystems/nix-installer-action@main - - name: Update flake inputs - run: nix flake update - - name: Create Pull Request - uses: peter-evans/create-pull-request@v6 + - uses: DeterminateSystems/flake-checker-action@main + - uses: DeterminateSystems/update-flake-lock@main with: - commit-message: "flake: update inputs" - title: "flake: update inputs" - branch: flake-update - delete-branch: true + pr-title: "flake: update inputs" + pr-labels: | + dependencies