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

Fix failure on creating pull request with assignees (#4419) #4582

Closed
wants to merge 1 commit into from

Conversation

SagePtr
Copy link
Contributor

@SagePtr SagePtr commented Aug 1, 2018

Fixes #4419

If pull request is in the middle of creation, it's impossible to call 'pull_request' webhook with action 'assign' in changeAssignee function. Now it's just skipped.

I don't know if this extra webhooks should be called after pull request is created, because 'pull_request' webhook with action 'opened' is called anyway and it already contains assignees section. For now additional assign webhooks are just skipped.

@SagePtr SagePtr closed this Aug 1, 2018
@SagePtr
Copy link
Contributor Author

SagePtr commented Aug 1, 2018

Something got wrong with automatic tests, I recreated PR

@bkcsoft bkcsoft added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Aug 1, 2018
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error 500 creating PR with assignees
2 participants