25 Commits

Author SHA256 Message Date
9f0909621b PR: fix timeline fetches
only fetch latest reviews from a user, not all
2025-07-15 11:06:17 +02:00
1a07d4c541 Create Pull Requests to specified branches
instead of always using DefaultBranch. This means that target needs
always gets specified now.
2025-07-11 12:01:43 +02:00
0019546e30 forward-bot: initial skeleton 2025-06-17 00:46:26 +02:00
6438a8625a Replace PrjGit creation logic 2025-06-16 14:22:21 +02:00
c8d65a3ae5 PR: refactor
Move AssociatedPR fetching
2025-06-11 16:28:02 +02:00
290424c4a7 common: sort timeline in desc order 2025-06-03 23:42:02 +02:00
69dcebcf74 common: use Timeline for reviews
Gitea doesn't keep track of Stale reviews well. We should parse
Timeline of a PR *always* and apply our own logic to this instead
2025-05-30 16:51:30 +02:00
af096af507 pr: require manual merge options for repositories 2025-05-26 18:10:25 +02:00
9c3658b33e pr: remove pending requests
Remove all pending review requests when we merge
2025-05-13 18:34:56 +02:00
24fe165c46 reviews: use timeline and ignore reviews prior to last push 2025-05-12 19:44:10 +02:00
da32adb16b staging: cleanup logic
Add cleanup logic for finished requests

Merged PRs are immediatelly removed along with any QA subprojects
Unmerged closed PRs are removed after a day, default 48 hours
since closing.
2025-05-08 13:56:31 +02:00
da1df24666 wip 2025-05-06 18:06:04 +02:00
f52d72e04a staging: use status line in PRs 2025-05-05 13:52:46 +02:00
0d0fcef7ac staging: fixes 2025-05-04 20:45:33 +02:00
bd492f8d92 no branch if default 2025-04-17 18:40:20 +02:00
f0de3ad54a workflow-direct: no panic if no changes 2025-04-17 15:12:51 +02:00
0e036b5ec6 workflow-direct: move away from prjgit repo being just repo 2025-04-16 18:07:37 +02:00
51ba81f257 Merge branch 'main' into refactor 2025-04-11 14:00:00 +02:00
bb7a247f66 common: commit status api 2025-04-11 13:58:20 +02:00
d89c77e22d common: use hostname:port instead of just hostname for API calls 2025-04-08 16:48:25 +02:00
06aef50047 start refactoring PR bot 2025-04-07 19:03:02 +02:00
d3f1b36676 Use "-gitea-url" instead of "-gitea-host" or simiar
This allows to use another schema than https:// to connect to Gitea
2025-04-07 14:20:26 +02:00
c4ce974ddf group-review: fixes 2025-04-05 23:45:40 +02:00
009cc88d54 Merge remote-tracking branch 'gitea/main' 2025-04-04 13:06:28 +02:00
Jan Zerebecki
4604aaeeba Rename bots-common to common
to make it match the name it is imported as
2025-04-03 22:38:28 +02:00