From c33783bd505b364b963482296e252d6a1010492f Mon Sep 17 00:00:00 2001 From: Mo <65728018+Moe1369@users.noreply.github.com> Date: Wed, 11 Mar 2026 20:58:49 +0100 Subject: [PATCH] Update GitHub Actions workflow for flake inputs --- .github/workflows/update.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 03f307c..2c050c9 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -1,17 +1,20 @@ name: Update flake inputs on: schedule: - - cron: '30 3 * * 0' # every Sunday at 3:30 - workflow_dispatch: # allow manual trigger + - cron: '30 3 * * 0' + workflow_dispatch: + jobs: update: runs-on: ubuntu-latest + permissions: + contents: write # needed to push the branch + pull-requests: write # needed to create the PR 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 with: