18dc41d6f8
Fix "oras" OCI client compatibility ( #34666 ) ( #34671 )
...
Backport #34666 by wxiaoguang
Fix #25846
1. the ImageConfig can be empty, fall back to default
2. the blob size can be empty, it still needs "Content-Length" header
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-06-09 15:20:34 -04:00
bf5d00074d
Only activity tab needs heatmap data loading ( #34652 ) ( #34668 )
...
Backport #34652 by @lunny
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2025-06-09 10:49:04 -07:00
fb4e9f92f9
Ignore "Close" error when uploading container blob ( #34620 ) ( #34665 )
...
Backport #34620 by wxiaoguang
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-06-09 21:35:17 +08:00
468d1919b5
Fix missed merge commit sha and time when migrating from codecommit ( #34645 ) ( #34650 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Backport #34645 by @lunny
Fix #34627
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2025-06-08 21:21:27 -07:00
1b788946a7
Fix GetUsersByEmails ( #34643 ) ( #34646 )
...
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
release-nightly / nightly-binary (push) Waiting to run
Backport #34643 by wxiaoguang
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-06-08 10:40:58 +08:00
e8646ad1d8
Misc CSS fixes ( #34638 ) ( #34644 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Backport #34638 by @silverwind
1. apply [`text-wrap:
balance`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-wrap#balance )
to various places making the text wrapping nicer, moving
`empty-placeholder` CSS to base because it's not repo-specific.
<img width="537" alt="Screenshot 2025-06-07 at 15 09 00"
src="https://github.com/user-attachments/assets/8b37d031-269d-4ab3-ba59-2ac469c431e4 "
/>
<img width="514" alt="Screenshot 2025-06-07 at 15 11 16"
src="https://github.com/user-attachments/assets/27a63117-be1d-4797-80f7-9ed14cca41dc "
/>
<img width="346" alt="Screenshot 2025-06-07 at 15 22 26"
src="https://github.com/user-attachments/assets/2f371384-0330-4a00-bb79-bc3c50ba5c91 "
/>
2. fix overflow-related bug on actions run list, before:
<img width="302" alt="Screenshot 2025-06-07 at 15 26 26"
src="https://github.com/user-attachments/assets/d6607eeb-288b-4e81-a770-45a421c9c68c "
/>
After:
<img width="299" alt="Screenshot 2025-06-07 at 15 26 59"
src="https://github.com/user-attachments/assets/b0ddb66f-d4fe-4711-8ed9-eca08ce608f3 "
/>
Co-authored-by: silverwind <me@silverwind.io >
2025-06-07 18:24:59 +00:00
29dc9c784e
add codecommit to supported services in api docs ( #34626 ) ( #34633 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Backport #34626 by TheFox0x7
Co-authored-by: TheFox0x7 <thefox0x7@gmail.com >
2025-06-07 17:19:53 +08:00
b1cc4bf77f
Validate hex colors when creating/editing labels ( #34623 ) ( #34630 )
...
Backport #34623
---------
Co-authored-by: Kemal Zebari <kemalzebra@gmail.com >
2025-06-07 11:24:28 +03:00
d35161ceb8
bump to alpine 3.22 ( #34613 ) ( #34615 )
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
2025-06-05 21:45:30 -04:00
8defca6d39
Fix possible pull request broken when leave the page immediately after clicking the update button ( #34509 ) ( #34607 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Backport #34509 by @lunny
If user leaves the page, the context will become cancelled, so that the
update process maybe terminal in an unexpected status. This PR haven't
resolve the problem totally. It uses a background context to not cancel
the update process even if the user leaved the pull request view page.
Fix #31779
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2025-06-05 07:15:32 +00:00
fac434da0a
Fix margin issue in markup paragraph rendering ( #34599 ) ( #34606 )
...
Backport #34599 by @silverwind
The Fomantic-inherited `p:last-child` rule in base.css interferes with
this markdown rendering:
```
1. a
2. a
```
Before (unequal margin):
<img width="143" alt="Screenshot 2025-06-04 at 14 09 07"
src="https://github.com/user-attachments/assets/6d6ba5e0-0d84-42e0-a0e4-9e93a59c4d65 "
/>
After (rendering matches GitHub):
<img width="181" alt="Screenshot 2025-06-04 at 14 09 14"
src="https://github.com/user-attachments/assets/bb81e14e-bc9f-4d52-92d0-f7a17c63070e "
/>
Co-authored-by: silverwind <me@silverwind.io >
2025-06-05 13:48:07 +08:00
e18eae7129
Fix migration pull request title too long ( #34577 ) ( #34604 )
...
release-nightly / nightly-docker-rootless (push) Waiting to run
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
Backport #34577 by @lunny
Fix #34294
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2025-06-04 13:36:09 -04:00
c60bc26fd3
Fix issue label delete incorrect labels webhook payload ( #34575 ) ( #34603 )
...
Backport #34575 by @badhezi
Fixes https://github.com/go-gitea/gitea/issues/34560
explanation of the bug in the issue
setting `issue.isLabelsLoaded = false` before calling `deleteIssueLabel`
guarantee we will load the new state of the labels into the issue object
before sending it in the webhook.
Co-authored-by: badhezi <zlilaharon@gmail.com >
2025-06-05 00:41:01 +08:00
bacc69db83
Make pull request and issue history more compact ( #34588 ) ( #34594 )
...
release-nightly / nightly-docker-rootless (push) Waiting to run
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
Backport #34588 by @silverwind
Before, waste of space in multiple places:
<img width="962" alt="Screenshot 2025-06-02 at 23 11 08"
src="https://github.com/user-attachments/assets/ecddf247-d690-434c-a865-9d5e6c690b7d "
/>
After, reduced spacing around history entries and inside commits list,
also fixed unequal horizontal spacing inside commit badge.
<img width="946" alt="Screenshot 2025-06-02 at 23 10 45"
src="https://github.com/user-attachments/assets/fe92f8e6-28af-4647-ac3a-1aced23d3b27 "
/>
Also, here's a rendering of issue history events, it's more compact now
at 8px padding:
<img width="565" alt="image"
src="https://github.com/user-attachments/assets/cdbf7c0a-a9a2-4942-85fc-c388abb36e15 "
/>
Co-authored-by: silverwind <me@silverwind.io >
2025-06-04 00:04:07 +00:00
c5da032193
fixed incorrect page navigation with up and down arrow on last item of dashboard repos ( #34570 ) ( #34596 )
...
Backport #34570 by metiftikci
Co-authored-by: metiftikci <metiftikci@hotmail.com >
2025-06-04 07:13:39 +08:00
3ace45c118
Fix doctor deleting orphaned issues attachments ( #34142 ) ( #34571 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Backport #34142 by @lunny
Fix the bug when deleting orphaned issues attachments. The attachments
maybe stored on other storages service rather than disk.
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2025-06-03 07:01:09 +00:00
5d6c5ce71a
Fix/improve avatar sync from LDAP ( #34573 ) ( #34587 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Backport #34573 by @raucao
This fixes 3 issues I encountered when debugging problems with our LDAP
sync:
1. The comparison of the hashed image data in `IsUploadAvatarChanged` is
wrong. It seems to be from before avatar hashing was changed and unified
in #22289 . This results in the function always returning `true` for any
avatars, even if they weren't changed.
2. Even if there's no avatar to upload (i.e. no avatar available for the
LDAP entry), the upload function would still be called for every single
user, only to then fail, because the data isn't valid. This is
unnecessary.
3. Another small issue is that the comparison function (and thus hashing
of data) is called for every user, even if there is no avatar attribute
configured at all for the LDAP source. Thus, I switched the condition
nesting, so that no cycles are wasted when avatar sync isn't configured
in the first place.
I also added a trace log for when there is actually a new avatar being
uploaded for an existing user, which is now only shown when that is
actually the case.
Co-authored-by: Râu Cao <842+raucao@users.noreply.github.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-06-02 23:19:55 +02:00
7baa6fa47c
Fix some trivial problems ( #34579 ) ( #34585 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Backport #34579 by wxiaoguang
See the comments
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-06-02 17:31:35 +00:00
f9a0b077a7
Retain issue sort type when a keyword search is introduced ( #34559 ) ( #34581 )
...
Backport #34559 by badhezi
Fixes #34523
Co-authored-by: badhezi <zlilaharon@gmail.com >
2025-06-02 22:33:44 +08:00
d3317ebabe
Always use an empty line to separate the commit message and trailer ( #34512 ) ( #34578 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Backport #34512 by tclin914
If the message from form.MergeMessageField is empty, we will miss a "\n"
between the title and the "Co-authored-by:" line. The title and message
should have a blank line between of them.
Co-authored-by: Jim Lin <jim@andestech.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-06-02 15:59:10 +08:00
e9481e1da3
Fix line-button issue after file selection in file tree ( #34574 ) ( #34576 )
...
Backport #34574
---------
Co-authored-by: Kerwin Bryant <kerwin612@qq.com >
2025-06-01 23:20:21 -07:00
8965c068e9
Fix possible nil description of pull request when migrating from CodeCommit ( #34541 ) ( #34550 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
Backport #34541 by @lunny
Fix #34320
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2025-05-27 20:11:09 +00:00
eaaa158df3
Add webhook assigning test and fix possible bug ( #34420 ) ( #34551 )
...
Backport #34420 by lunny
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2025-05-28 03:45:25 +08:00
f5498421c4
Refactor commit reader ( #34542 ) ( #34549 )
...
Backport #34542 by wxiaoguang
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-05-27 17:14:33 +00:00
a6a14c9a92
Don't display error log when .git-blame-ignore-revs doesn't exist ( #34457 ) ( #34540 )
...
release-nightly / nightly-docker-rootless (push) Waiting to run
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
Backport #34457 by @lunny
Fix #34454
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2025-05-26 21:54:03 +02:00
d0ec1788b8
Add sort option recentclose for issues and pulls ( #34525 ) ( #34539 )
...
Backport #34525 by @MarkusAmshove
closes #34171
Adds a new sort option `recentclose` for issues and pull requests which
will return items in a descending order of when they were closed
Co-authored-by: Markus Amshove <scm@amshove.org >
2025-05-27 02:16:50 +08:00
c1202f1b57
Run integration tests against postgres 14 ( #34514 ) ( #34536 )
...
Backport #34514 by @silverwind
postgres 12 is end of life since 6 months. 13 and above are still
supported but I think it's overall better if we test a more recent
version of postgres because that's what new users will be running on.
Ref: https://endoflife.date/postgresql
Co-authored-by: silverwind <me@silverwind.io >
2025-05-26 12:19:19 -04:00
1162cbccc0
Performance optimization for tags synchronization ( #34355 ) ( #34522 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
Backport #34355 by @lunny
The tags synchronization is very slow for a non-mirror repository with
many tags especially forking. This PR make all repositories' tags
synchronization use the same function and remove the low performance
synchronization function. The commit count of tag now will not be stored
into database when syncing. Since the commits count will always be read
from cache or git data, the `NumCommits` in the release table will be
updated for the first read from git data.
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2025-05-22 19:28:25 -07:00
038990e0ff
Fix ephemeral runner deletion ( #34447 ) ( #34513 )
release-nightly / nightly-docker-rootless (push) Waiting to run
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
2025-05-21 18:02:34 -04:00
03ff09870d
Fix edithook api can not update package, status and workflow_job events ( #34495 ) ( #34499 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
Backport #34495 by @ChristopherHX
* the origin of this problem is duplicated code
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2025-05-18 21:18:19 -07:00
8bf4f2cc8f
Fix url validation in webhook add/edit API ( #34492 ) ( #34496 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
Backport #34492 by @lunny
Fix #34491
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2025-05-17 15:31:36 -07:00
21731c1370
Fix get / delete runner to use consistent http 404 and 500 status ( #34480 ) ( #34488 )
...
release-nightly / nightly-docker-rootless (push) Has been cancelled
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
Backport #34480 by @ChristopherHX
* previously deleting an already deleted runner returned http 500
* previously any database error for the get endpoint was http 404 and
never 500
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2025-05-16 16:59:29 +00:00
a0e272d95a
Add missing setting load in dump-repo command ( #34479 ) ( #34489 )
...
Backport #34479 by @lunny
Fix #34465
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2025-05-16 16:33:04 +00:00
47537a8361
Add a button editing action secret #34348 ( #34462 )
...
Backport #34348
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-05-16 15:26:21 +00:00
d018c1b4b1
nix flake update ( #34476 ) ( #34490 )
...
Backport #34476 by techknowlogick
Co-authored-by: techknowlogick <techknowlogick@gitea.com >
2025-05-16 23:00:18 +08:00
d2cbe2fba0
Add migrations tests ( #34456 ) ( #34483 )
...
Backport #34456 by @lunny
Fix #34455
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-05-16 10:37:06 -04:00
d6233c25b5
Fix project board view ( #34470 ) ( #34475 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Backport #34470 by wxiaoguang
Fix #34469
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-05-16 01:32:53 +08:00
2bf2d00c8a
When updating comment, if the content is the same, just return and not update the databse ( #34422 ) ( #34464 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Backport #34422 by @lunny
Fix #34318
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-05-14 21:48:49 -07:00
9bd56a8ba0
Fix Workflow run Not Found page ( #34459 ) ( #34466 )
...
Backport #34459 by NorthRealm
Co-authored-by: NorthRealm <155140859+NorthRealm@users.noreply.github.com >
2025-05-15 11:55:39 +08:00
a1dc3c9bd1
Fix remove org user failure on mssql ( #34449 ) ( #34453 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
Backport #34449 by @ChristopherHX
* mssql does not support fetching 0 repositories
* remove paging by NumRepos that might be 0
* extend admin api test to purge user 2
Fixes #34448
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-05-13 13:28:26 -07:00
47ee84d1f3
Fix repo broken check ( #34444 ) ( #34452 )
...
Backport #34444 by wxiaoguang
Fix #34424
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-05-13 19:02:24 +00:00
89f1df033a
Fix comment textarea scroll issue in Firefox ( #34438 ) ( #34446 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Backport #34438 by @silverwind
In the comment editor, there is a bug in Firefox where the scroll
position unexpectedly moves up, which is annoying. This is not
reproducible in Chrome and Safari. To reproduce here are some steps:
- Go into an editable issue
- Scroll page to bottom
- Focus the textarea and press Return many times, causing the textarea
to get a scrollbar
- Scroll page to bottom again
- Press Return once more
- Page should not scroll up.
This fixes the bug by adding a temporary margin, and I verified it works
in all browsers.
Co-authored-by: silverwind <me@silverwind.io >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-05-13 18:39:02 +02:00
94b67f1967
Fix releases sidebar navigation link ( #34436 ) ( #34440 )
...
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
release-nightly / nightly-binary (push) Waiting to run
Backport #34436 by @badhezi
Resolves https://github.com/go-gitea/gitea/issues/34435
Co-authored-by: badhezi <zlilaharon@gmail.com >
2025-05-12 14:41:24 -07:00
0a9a84df11
Fix bug webhook milestone is not right. ( #34419 ) ( #34428 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Backport #34419 by @lunny
Fix #34400
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: silverwind <me@silverwind.io >
2025-05-12 00:21:14 +00:00
cdac263bb8
Only git operations should update last changed
of a repository ( #34388 ) ( #34427 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Backport #34388 by @lunny
Try to fix #32046
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2025-05-11 23:23:12 +02:00
a5c7df7a4c
Fix GetUsersByEmails ( #34423 ) ( #34425 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Backport #34423 by wxiaoguang
Fix #34418 , fix #34353
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-05-11 04:42:59 +08:00
6d738fecc4
Fix a bug when uploading file via lfs ssh command ( #34408 ) ( #34416 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Backport #34408 by @lunny
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-05-10 02:03:37 +00:00
38cc7453e2
Merge and tweak markup editor expander CSS ( #34409 ) ( #34415 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Backport #34409 by @silverwind
- Merge the CSS for the two expanders (text-expander-element and
tribute.js) into one file
- Fix overflow issues
- Remove min-width
- Various other tweaks like borders, colors, padding, gaps.
text-expander:
<img width="645" alt="Screenshot 2025-05-09 at 02 21 24"
src="https://github.com/user-attachments/assets/33276dc4-38e8-45e1-8216-2a4baa9bc039 "
/>
tribute:
<img width="624" alt="Screenshot 2025-05-09 at 02 21 37"
src="https://github.com/user-attachments/assets/91fbcd1a-9bfc-40fd-93f0-a05b4bd4c98d "
/>
Co-authored-by: silverwind <me@silverwind.io >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-05-09 18:58:19 +02:00
b44175c071
Refactor commit message rendering and fix bugs ( #34412 ) ( #34414 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Backport #34412 by wxiaoguang
Fix #34398 , fix #33308
Remove all `repo.ComposeCommentMetas` from templates,
only use `repo` to render commit message.
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-05-09 13:08:23 +00:00
947358dffe
Fix incorrect divergence cache after switching default branch ( #34370 ) ( #34406 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Backport #34370 by @GWDx
Issue: After switching the default branch, other branches are still
compared against the old default branch due to outdated divergence
cache.
Change: Clear the divergence cache in SetRepoDefaultBranch to ensure
correct comparisons against the new default branch.
Fixes #34369
Co-authored-by: GWDx <gwdx@mail.ustc.edu.cn >
2025-05-09 01:31:34 +02:00