Skip to content

Conversation

finwo
Copy link

@finwo finwo commented Dec 10, 2021

This PR prevents the push from being rejected when pushing a non-master branch.

Essentially, while the && check works fine, the exit code on a non-master ref bleeds out of the loop when it's last, causing git to believe the pre-receive hook was rejected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant