From cb1bdc37829da73c0a05a830bd099ab97da6b58a Mon Sep 17 00:00:00 2001 From: Mo <65728018+Moe1369@users.noreply.github.com> Date: Wed, 11 Mar 2026 21:23:25 +0100 Subject: [PATCH] Update GitHub Actions workflow for flake inputs Removed pull-requests permission and added steps to update flake inputs and commit changes. --- .github/workflows/update.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 429ba49..580b586 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -9,13 +9,15 @@ jobs: runs-on: ubuntu-latest permissions: contents: write - pull-requests: write steps: - uses: actions/checkout@v4 - uses: DeterminateSystems/nix-installer-action@main - - uses: DeterminateSystems/flake-checker-action@main - - uses: DeterminateSystems/update-flake-lock@main - with: - pr-title: "flake: update inputs" - pr-labels: | - dependencies + - name: Update flake inputs + run: nix flake update + - name: Commit and push + run: | + git config user.name "github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" + git add flake.lock + git commit -m "flake: update inputs" || echo "No changes to commit" + git push