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

Issue responder: Handle PRs that do not allow edits from maintainers #5

Open
mbargull opened this issue Jan 15, 2020 · 0 comments
Open

Comments

@mbargull
Copy link
Member

If we get a 201 response code from a push to a PR branch, this likely means the contributor did not check the "Allow edits from maintainers" box. We may want to reflect that in the Bot response message.

ref: bioconda/bioconda-recipes#19753 (comment):

I encountered an error updating your PR branch. You can report this to bioconda/core if you'd like.
-The Bot

Failed with: https://github.com/bioconda/bioconda-recipes/commit/7e49c223dbcf2737533de3518724e53632778d59/checks?check_suite_id=402686325#step:3:463

git push
To github.com:pravs3683/bioconda-recipes.git
 ! [remote rejected]     fix_quantwiq-iq -> fix_quantwiq-iq (permission denied)
error: failed to push some refs to '[email protected]:pravs3683/bioconda-recipes.git'
the response code was 201
##[error]Node run failed with exit code 1

since the PR does not allow edit from maintainers.

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

No branches or pull requests

1 participant