Skip to content
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

Pull request updates will also trigger code owners review requests #33744

Merged
merged 20 commits into from
Mar 14, 2025

Conversation

lunny
Copy link
Member

@lunny lunny commented Feb 27, 2025

Fix #33490

It will only read the changed file on the pushed commits but not all the files of this PR.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Feb 27, 2025
@pull-request-size pull-request-size bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Feb 27, 2025
@github-actions github-actions bot added the modifies/go Pull requests that update Go code label Feb 27, 2025
@lunny lunny added type/bug backport/v1.23 This PR should be backported to Gitea 1.23 and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. modifies/go Pull requests that update Go code labels Feb 27, 2025
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Feb 28, 2025
@pull-request-size pull-request-size bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Feb 28, 2025
@github-actions github-actions bot added the modifies/go Pull requests that update Go code label Feb 28, 2025
@lunny lunny requested a review from jpraet March 3, 2025 20:43
@lunny lunny mentioned this pull request Mar 3, 2025
lunny added a commit that referenced this pull request Mar 4, 2025
Wait tomorrow's Golang version.
Maybe wait backport of #33764 and #33744, #33789

---------

Co-authored-by: metiftikci <[email protected]>
@pull-request-size pull-request-size bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Mar 8, 2025
@lunny lunny changed the title pull request updates will also trigger code owners review requests Pull request updates will also trigger code owners review requests Mar 11, 2025
RepoID int64
Doer *user_model.User
Branch string
IsSync bool
Copy link
Contributor

@wxiaoguang wxiaoguang Mar 12, 2025

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?

Copy link
Member Author

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.

Copy link
Contributor

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 triggers IsSync=false? Could it have some comments?

Copy link
Member Author

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.

Copy link
Contributor

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 then it's a pull request synchronization.

But if IsSync=false, then what it is?Which action triggers IsSync=false?

Copy link
Member Author

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.

@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Mar 13, 2025
@lunny lunny added the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Mar 14, 2025
@lunny lunny merged commit 1e72480 into go-gitea:main Mar 14, 2025
26 checks passed
@GiteaBot GiteaBot added this to the 1.24.0 milestone Mar 14, 2025
@GiteaBot GiteaBot removed the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Mar 14, 2025
@lunny lunny deleted the lunny/add_reviewer_notifier_pr_sync branch March 14, 2025 02:44
zjjhot added a commit to zjjhot/gitea that referenced this pull request Mar 14, 2025
* giteaofficial/main:
  Pull request updates will also trigger code owners review requests (go-gitea#33744)
  [skip ci] Updated translations via Crowdin
  remove context from retry downloader (go-gitea#33871)
  Fine tune push mirror UI (go-gitea#33866)
  Fix markdown render (go-gitea#33870)
  Improve issue & code search (go-gitea#33860)
@GiteaBot
Copy link
Collaborator

I was unable to create a backport for 1.23. @lunny, please send one manually. 🍵

go run ./contrib/backport 33744
...  // fix git conflicts if any
go run ./contrib/backport --continue

@GiteaBot GiteaBot added the backport/manual No power to the bots! Create your backport yourself! label Mar 14, 2025
lunny added a commit to lunny/gitea that referenced this pull request Mar 28, 2025
…o-gitea#33744)

Fix go-gitea#33490

It will only read the changed file on the pushed commits but not all the
files of this PR.

---------

Co-authored-by: wxiaoguang <[email protected]>
@lunny lunny added the backport/done All backports for this PR have been created label Mar 28, 2025
lunny added a commit that referenced this pull request Mar 28, 2025
…33744) (#34045)

Fix #33490
Backport #33744 

It will only read the changed file on the pushed commits but not all the
files of this PR.

Co-authored-by: wxiaoguang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/done All backports for this PR have been created backport/manual No power to the bots! Create your backport yourself! backport/v1.23 This PR should be backported to Gitea 1.23 lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/go Pull requests that update Go code size/L Denotes a PR that changes 100-499 lines, ignoring generated files. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CODEOWNERS functionality is only triggered when opening a PR, but not after changes
7 participants