mirror of
https://gitee.com/gitea/gitea
synced 2025-12-30 20:26:34 +08: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.