From 486b3168853ec0b474920cdb0f9bc80f8462ba02 Mon Sep 17 00:00:00 2001 From: Kiara Grouwstra Date: Fri, 20 Jun 2025 09:41:38 +0200 Subject: [PATCH] run updater natively (#394) see https://git.fediversity.eu/Fediversity/Fediversity/issues/65#issuecomment-7668. closes #65. Reviewed-on: https://git.fediversity.eu/Fediversity/Fediversity/pulls/394 Co-authored-by: Kiara Grouwstra Co-committed-by: Kiara Grouwstra --- .forgejo/workflows/update.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/update.yaml b/.forgejo/workflows/update.yaml index d76c9622..ac9a17f4 100644 --- a/.forgejo/workflows/update.yaml +++ b/.forgejo/workflows/update.yaml @@ -7,15 +7,16 @@ on: jobs: lockfile: - runs-on: ubuntu-latest + runs-on: native steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Install Nix - uses: cachix/install-nix-action@v31 - name: Install npins - run: nix profile install 'nixpkgs#npins' - - name: Update npins sources - uses: getchoo/update-npins@v0 + run: nix-shell --run "npins update" + - name: Create PR + uses: peter-evans/create-pull-request@v7 with: token: "${{ secrets.DEPLOY_KEY }}" + branch: npins-update + commit-message: "npins: update sources" + title: "npins: update sources"