Commit Graph

4 Commits

Author SHA1 Message Date
Lunny Xiao 60181eb599
Fix code owners will not be mentioned when a pull request comes from a forked repository () ()
Backport  
Fix 
Caused by 
2024-04-16 08:27:01 +08:00
Lunny Xiao 087aed7096
Fix Add/Remove WIP on pull request title failure () ()
Fix 
Backport 
2024-03-25 10:26:05 +01:00
Lunny Xiao ff27ca32ca
Notify reviewers added via CODEOWNERS () ()
backport 

Co-authored-by: Jimmy Praet <jimmy.praet@telenet.be>
2024-03-20 06:02:24 +00:00
Lunny Xiao 85f31eb643
Fix codeowner detected diff base branch to mergebase () ()
Fix 
Backport  

This PR fixes 2 problems with CodeOwner in the pull request.
- Don't use the pull request base branch but merge-base as a diff base
to detect the code owner.
- CodeOwner detection in fork repositories will be disabled because
almost all the fork repositories will not change CODEOWNERS files but it
should not be used on fork repositories' pull requests.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-03-17 02:40:06 +01:00