chore: allow users with "read" perm to trigger retest#8616
chore: allow users with "read" perm to trigger retest#8616waveywaves wants to merge 1 commit intotektoncd:mainfrom
Conversation
|
[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. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/kind misc |
|
@waveywaves: The label(s) DetailsIn 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 |
vdemeester
left a comment
There was a problem hiding this comment.
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 |
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.
|
/test pull-tekton-pipeline-go-coverage-df |
|
@waveywaves: No presubmit jobs available for tektoncd/pipeline@main DetailsIn 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. |
|
I will add the ok-to-test option to this PR itself @afrittoli |
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