-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Only check for conflicts/merging if the PR has not been merged in the interim #10132
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
Merged
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
ef1a8a5
Only check for merging if the PR has not been merged in the interim
zeripath e29a6de
fixup! Only check for merging if the PR has not been merged in the in…
zeripath 1205165
Try to fix test failure
zeripath ee7d5f7
Use PR2 not PR1 in tests as PR1 merges automatically
zeripath 4c00eb6
Merge branch 'master' into improve-pr-check
zeripath 9a90443
return already merged error
zeripath ad20cd2
Merge branch 'master' into improve-pr-check
zeripath fdc055e
enforce locking
zeripath 0f9e498
enforce locking - fix-test
zeripath 5551c6d
enforce locking - fix-testx2
zeripath 7d5772f
enforce locking - fix-testx3
zeripath 76f7eef
move pullrequest checking to after merge
zeripath a60c5b8
Remove minor race with getting merge commit id
zeripath 87f5793
fixup
zeripath f8f886f
move check pr after merge
zeripath 389342c
Remove unnecessary prepareTestEnv - onGiteaRun does this for us
zeripath 203ff71
Add information about when merging occuring
zeripath bd6badc
Merge remote-tracking branch 'origin/master' into improve-pr-check
zeripath ab79a00
fix fmt
zeripath 9c79c73
More logging
zeripath 36c3771
Attempt to fix mysql
zeripath 3a9768f
Try MySQL fix again
zeripath f055a73
try again
zeripath ca9103d
Try again?!
zeripath 22631c2
Try again?!
zeripath fa8f010
Sigh
zeripath 441ff1a
remove the count - perhaps that will help
zeripath 52cd67c
next remove the update id
zeripath 8373df4
next remove the update id - make it updated_unix instead
zeripath c8c5809
On failure to merge ensure that the pr is rechecked for conflict errors
zeripath f505332
On failure to merge ensure that the pr is rechecked for conflict errors
zeripath 0140315
Merge branch 'master' into improve-pr-check
zeripath bd7c2eb
Merge branch 'master' into improve-pr-check
lafriks 7486e16
Update models/pull.go
zeripath 7955006
Update models/pull.go
zeripath 6bd8699
Apply suggestions from code review
zeripath 1ffd6bc
Merge branch 'master' into improve-pr-check
zeripath 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.