From 79ed937f2337445ac52c60915bea51c7edc4d53f Mon Sep 17 00:00:00 2001 From: Richard Zak Date: Sat, 24 Feb 2024 11:29:28 -0500 Subject: [PATCH] chore(deps): use nix flake update from codex Signed-off-by: Richard Zak --- .github/workflows/update.yml | 28 ++++++---------------------- 1 file changed, 6 insertions(+), 22 deletions(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 059e8793..138209f7 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -1,4 +1,4 @@ -name: Update +name: Update Nix flake on: schedule: @@ -7,24 +7,8 @@ on: jobs: nix-update: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: nixbuild/nix-quick-install-action@v26 - with: - nix_conf: | - experimental-features = nix-command flakes - access-tokens = github.com=${{ github.token }} - - uses: jessestricker/nix-flake-update@v1 - id: nix-update - - uses: peter-evans/create-pull-request@v6 - with: - branch: nix-update - commit-message: "build(nix): update flake lock" - title: "build(nix): update flake lock" - body: ${{ steps.nix-update.outputs.pull-request-body }} - labels: dependencies, nix - assignees: | - puiterwijk - rvolosatovs - signoff: true + permissions: + contents: write + pull-requests: write + secrets: inherit + uses: enarx/.github/.github/workflows/nix-update.yml@main