mirror of
https://github.com/go-gitea/gitea.git
synced 2025-04-03 05:39:55 +08: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>