mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-21 11:23:32 +01:00
caused by #22680 `pushPayload.Ref` and `prPayload.PullRequest.Base.Ref` have the format like `refs/heads/<branch_name>`, so we need to trim the prefix before comparing.