RSSHub/lib/routes/github
TehPeGaSuS 78068da475
feat(route): make GitHub pulls title and docs consistent with issues (#21903)
* feat(route): make GitHub pulls title and docs consistent with issues

I'm not really a coder, but I use RSSHub to bridge GitHub updates into IRC for my community. I noticed that the `pulls.ts` route didn't show the "Open/Closed" state in the feed title like the `issues.ts` route does, which was making my users a bit confused!

I tried my best to replicate the logic and metadata structure from `issues.ts` over to `pulls.ts`.

Changes:
- Updated the feed title to dynamically show the state (Open/Closed/All) and any labels.
- Updated the parameter metadata so the documentation looks as clean and organized as the Issues page.

I've tested this locally and it’s working perfectly for my IRC tracker. Hopefully, this helps keep things consistent across the GitHub routes!

Closes #21902

* Fix title formatting in pull request response
2026-05-08 02:26:57 +08:00
..
activity.ts style: auto format 2026-04-14 15:15:05 +00:00
advisor.ts style: auto format 2026-04-14 15:15:05 +00:00
branches.ts
comments.ts
contributors.ts
discussions.ts
eventapi.ts style: auto format 2026-04-14 15:15:05 +00:00
file.ts
follower.ts refactor: add GraphQL annotation to queries for auto formatting in oxfmt v0.42 2026-04-14 08:38:54 +08:00
gist.ts
issue.ts
namespace.ts
notifications.ts fix(github): allow empty notifications feed (#20875) 2026-01-13 23:07:20 +08:00
org-event.ts
private-feed.ts
pulls.ts feat(route): make GitHub pulls title and docs consistent with issues (#21903) 2026-05-08 02:26:57 +08:00
pulse.tsx
repo-event.ts
repos.ts
search.ts style: fix eslint issues (#20862) 2026-01-13 03:25:37 +08:00
star.ts refactor: add GraphQL annotation to queries for auto formatting in oxfmt v0.42 2026-04-14 08:38:54 +08:00
starred-repos.ts
topic.ts fix(github): update topics route selector to fix empty route (#21560) 2026-03-31 04:31:39 +00:00
trending.tsx refactor: add GraphQL annotation to queries for auto formatting in oxfmt v0.42 2026-04-14 08:38:54 +08:00
user-event.ts
wiki.ts