fix(source-control): stop Forgejo status refresh from scanning every pull request (#12223)

Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Signed-off-by: Loïs Postula <[email protected]>
This commit is contained in:
authored and GitHub committed 2026-10-10 18:14:09 +00:00
1 parent 50647de014
commit dacd2cb649
1 file changed
+1 -1
@@ -286,7 +286,7 @@ export const make = Effect.gen(function* () {
const items = yield* request(
{
...input,
path: `${repositoryPath(repo.repository)}/pulls?state=${input.state === "merged" ? "closed" : input.state}&sort=recentupdate&limit=50&page=${page}`,
path: `${repositoryPath(repo.repository)}/pulls?state=${input.state === "merged" ? "closed" : input.state}&head=${encodeURIComponent(branch)}&sort=recentupdate&limit=50&page=${page}`,
},
Schema.Array(ForgejoPullRequestSchema),
);