mirror of
https://github.com/go-gitea/gitea
synced 2025-07-13 22:17:20 +00:00
Backport #19010 Use DeployKeyID to replace the IsDeployKey, then CanWriteCode uses the DeployKeyID to check the write permission. Fix #19009 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>