-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Pull request updates will also trigger code owners review requests #33744
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
lunny
merged 20 commits into
go-gitea:main
from
lunny:lunny/add_reviewer_notifier_pr_sync
Mar 14, 2025
+157
−37
Merged
Changes from 9 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
f0dd070
pull request updates will also trigger code owners review requests
lunny 172178c
merge the code owner file list
lunny fb1fb03
Merge branch 'main' into lunny/add_reviewer_notifier_pr_sync
lunny b31d067
Only request code owner when syncing commits files ownered by the cod…
lunny dd1eb52
Use a structure as parameters for TestPullrequestTask
lunny 5b0fb1e
Merge branch 'main' into lunny/add_reviewer_notifier_pr_sync
lunny 449ed5b
Add test for PullRequestCodeOwnersReview and PullRequestCodeOwnersRev…
lunny 64db717
Merge branch 'main' into lunny/add_reviewer_notifier_pr_sync
lunny 6f79267
Update services/issue/pull.go
wxiaoguang f8b02f7
Add comment for IsSync
lunny 480de54
Merge branch 'lunny/add_reviewer_notifier_pr_sync' of github.com:lunn…
lunny 2aee564
Fix test
lunny afb2be2
Merge branch 'main' into lunny/add_reviewer_notifier_pr_sync
lunny 4961418
improve the comment for IsSync
lunny 47d3234
Merge branch 'main' into lunny/add_reviewer_notifier_pr_sync
lunny aa9dd18
Merge branch 'main' into lunny/add_reviewer_notifier_pr_sync
GiteaBot aaf7915
Merge branch 'main' into lunny/add_reviewer_notifier_pr_sync
GiteaBot 10ce667
Merge branch 'main' into lunny/add_reviewer_notifier_pr_sync
GiteaBot a950281
Fix test
lunny f03bc81
Merge branch 'lunny/add_reviewer_notifier_pr_sync' of github.com:lunn…
lunny File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does
IsSync
mean? Could it have some comments?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IsSync
means if it's a pull request update.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then what does
IsSync=false
mean? Which action triggersIsSync=false
? Could it have some comments?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have added comments in f8b02f7. Looks like
AddTestPullRequestTask
needs a big refactor. So that I don't want to introduce it to this PR.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By that comment, I can understand if
IsSync=true
thenit's a pull request synchronization
.But if
IsSync=false
, then what it is?Which action triggersIsSync=false
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
4961418
This maybe should be an action parameter. It could be pull request synchronization, updating or merging.