mirror of
https://github.com/go-gitea/gitea.git
synced 2025-03-05 00:59:40 +08:00

- Backport (#20277 - This code is only valid when `refNumeric` exist(otherwise we didn't find such numeric PR and can skip that check) and give a free-pas to the "BEFORE" check when `ref` is nil. - Resolves #20109