-
Notifications
You must be signed in to change notification settings - Fork 547
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
More power for authorized users in self-service community operators #76
Comments
We were already allowing it, but it is not working. The problem is that when user (authorized user) would do the comment (via /lgtm or /approve or whatever) then workflow comment handler is executed with that user's permissions and if that user (authorized user) doesn't have write access to repo (by default no one has) then label cannot be set by that user. Only repo admin can. I am still thinking about this feature (not high priority). But you can give me hint if you have some proposal. |
To retest one can do:
|
Feel free to reopen |
@2uasimojo I just implemented feature with authorized_label when PR is approved by reviewer. Let me know when you will have such PR so we can test it. Thanks |
Possible workflows
or
or
Note: We always rely on information that of last github reviewer and it hase to be in state |
Thanks for working on this @mvalarh! Perhaps next Monday (when we do our regular push) we can contrive a scenario to test this. Let me know if this would work:
Will that be an effective test? |
We're testing a fix whereby reviewers should be able to approve changes by non-reviewers. This is step 1: make abutcher not a reviewer. Step 2: He will submit a PR. Step 3: I will approve it. Hopefully it will merge. Step 4: Restore abutcher to the reviewer list Part of testing k8s-operatorhub#76
We're testing a fix whereby reviewers should be able to approve changes by non-reviewers. This is step 1: make abutcher not a reviewer. Step 2: He will submit a PR. Step 3: I will approve it. Hopefully it will merge. Step 4: Restore abutcher to the reviewer list Part of testing k8s-operatorhub#76 Signed-off-by: Eric Fried <efried@redhat.com>
It seems like when the submitter is not a reviewer, the bot puts a |
Bot is putting in hold only in case |
@mvalarh I'm happy with the functionality as we tested it. If you'd like us to test some other permutation, let us know. Otherwise I'm happy to close this issue. |
Documentation is located : https://k8s-operatorhub.github.io/community-operators/self-merge-updates/#how-do-i-approve-pr |
…8s-operatorhub#76) Signed-off-by: Ananta Chakravartula <ananta.c@gmail.com>
Self-service community operator version PRs are way cool!
However, a handful of things I've noticed that would make it even cooler:
/lgtm
or/approve
or whatever).The text was updated successfully, but these errors were encountered: