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"