mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-11-08 03:30:34 +00:00
_author_login returned the issue/PR creator for issues and pull_request events. On edited/labeled/reopened actions the actor is sender, so an allow_authors user editing someone else's issue was gated on mention, while anyone editing an allow_authors user's issue bypassed it. Prefer sender.login and keep the object author as a fallback. Co-authored-by: Willem Jiang <willem.jiang@gmail.com>