-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
chore: allow users with "read" perm to trigger retest #8616
base: main
Are you sure you want to change the base?
Conversation
Currently developers on the repo; apart from the ones with "write" permissions, cannot trigger retests. this change allows users with "read" permissions to trigger retests.
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/kind misc |
@waveywaves: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/kind misc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would make any member of the org to be able to run /retest
right ?
If that's the case, I "think" it make sense as it's close to the behavior that was on prow jobs.
So the list of permissions are I am not sure
I think the @tektoncd/core-collaborators are in that case ? It might be a safer bet to start with ? |
Yes, this was restricted intentionally because we don't want anyone to be able to run the tests, but it needs to be refined. Everyone in the org sounds good - we could support things like the "ok-to-test" label too for people outisde the org - that would need some extra logic in https://github.com/tektoncd/pipeline/blob/main/.github/workflows/chatops_retest.yaml. In terms of permission, it is possible to specify Setting to read here should expand the "retest" ability to the collaborators and then we could have a follow up to extend to org memebers and/or PRs with "ok-to-test". |
@afrittoli created an issue based on your comment #8621 |
Changes
chore: allow users with "read" perm to trigger retest.
Currently developers on the repo; apart from the ones with "write" permissions, cannot trigger retests. this change allows users with "read" permissions to trigger retests.
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes