ci: fix flake update #8

Merged
flowey merged 8 commits from flowey/fix-flake-update into master 2026-09-17 05:20:22 +00:00
Showing only changes of commit d18e1b6c15 - Show all commits
+1 -1
View File
@@ -481,7 +481,7 @@ def open_pr(args):
if push.returncode != 0:
raise RuntimeError(f"git push failed:\n{push.stderr}")
pulls = gitea("GET", "/pulls?state=open")
pulls = gitea("GET", f"/pulls?state=open&base_branch={args.base}")
existing = next((pr for pr in pulls if pr["head"]["ref"] == args.branch), None)
if existing:
print(f"PR #{existing['number']} already open, pushed update")