1
0
Fork 0
codeberg-forgejo/services/actions
Giteabot c2f2fed57a
Fix pull request check list is limited (#26179) (#26245)
Backport #26179 by @CaiCandong

In the original implementation, we can only get the first 30 records of
the commit status (the default paging size), if the commit status is
more than 30, it will lead to the bug #25990. I made the following two
changes.
- On the page, use the ` db.ListOptions{ListAll: true}` parameter
instead of `db.ListOptions{}`
- The `GetLatestCommitStatus` function makes a determination as to
whether or not a pager is being used.

fixed #25990

Co-authored-by: caicandong <50507092+CaiCandong@users.noreply.github.com>
(cherry picked from commit 060026995a95a61a35535215105db015bab8a697)
2023-08-21 07:22:15 +02:00
..
clear_tasks.go Fix content holes in Actions task logs file (#25560) (#25566) 2023-06-28 23:39:23 +00:00
commit_status.go Fix pull request check list is limited (#26179) (#26245) 2023-08-21 07:22:15 +02:00
init.go Improve queue and logger context (#24924) 2023-05-26 07:31:55 +00:00
job_emitter.go Rewrite queue (#24505) 2023-05-08 19:49:59 +08:00
job_emitter_test.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
notifier.go For API attachments, use API URL (#25639) (#25814) 2023-07-10 12:56:16 +00:00
notifier_helper.go For API attachments, use API URL (#25639) (#25814) 2023-07-10 12:56:16 +00:00