Skip to content

Set the initial commit status to Success otherwise it will always be Pending (#10317)#10318

Merged
zeripath merged 2 commits into
go-gitea:release/v1.11from
zeripath:backport-10317
Feb 17, 2020
Merged

Set the initial commit status to Success otherwise it will always be Pending (#10317)#10318
zeripath merged 2 commits into
go-gitea:release/v1.11from
zeripath:backport-10317

Conversation

@zeripath
Copy link
Copy Markdown
Contributor

Backport #10317

The commit status code has a bug whereby setting the initial status to Pending means you can never have the status of Success - it should be set to Success.

@zeripath zeripath added type/bug issue/critical This issue should be fixed ASAP. If it is a PR, the PR should be merged ASAP labels Feb 17, 2020
@zeripath zeripath added this to the 1.11.2 milestone Feb 17, 2020
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Feb 17, 2020
@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 Feb 17, 2020
@zeripath zeripath changed the title Set the initial status to Success otherwise it will always be Pending (#10317) Set the initial commit status to Success otherwise it will always be Pending (#10317) Feb 17, 2020
@zeripath zeripath merged commit 117dcf1 into go-gitea:release/v1.11 Feb 17, 2020
@zeripath zeripath deleted the backport-10317 branch February 17, 2020 20:51
@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

issue/critical This issue should be fixed ASAP. If it is a PR, the PR should be merged ASAP lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants