Commit f31080f

HPCesia <me@hpcesia.com>
2026-05-25 16:13:51
Fix create pr in Nix flake update workflow
1 parent d459c76
Changed files (1)
.forgejo
.forgejo/workflows/update-flake.yml
@@ -16,12 +16,13 @@ jobs:
         run: nix flake update
 
       - name: Create pull request
-        uses: peter-evans/create-pull-request@v7
+        uses: https://github.com/maxking/forgejo-create-pr@main
         with:
-          branch: update/flake-deps
+          token: ${{ env.FORGEJO_TOKEN }}
+          base: main
+          pr-branch: update/flake-deps
           commit-message: "chore: update flake.lock"
-          title: "chore: update flake.lock"
-          body: |
+          pr-title: "chore: update flake.lock"
+          pr-body: |
             Weekly automatic update of flake dependencies.
             Runs `nix flake update` on nixos-latest.
-          delete-branch: true