-
Notifications
You must be signed in to change notification settings - Fork 139
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
external-plugin: add label to PR if a test with a certain label has been changed #3879
Comments
@dosubot looking at the links in the issue description, can you provide some examples on how the different prow external-plugins we have are implemented and deployed? |
The implementation and deployment of external-plugins in the
These examples illustrate the structured approach to implementing and deploying external-plugins in the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
@dosu the above issue aims at changing a label on a PR if a specific test implemented with onsi/ginkgo framework is changed. Do you have a suggestion on how to implement this? |
To implement a system that changes a label on a PR when a specific test using the onsi/ginkgo framework is changed, you can follow these steps:
By following these steps, you can automate the process of labeling PRs based on changes to specific tests, enhancing the workflow and ensuring relevant changes are highlighted. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Outcome
Automatically highlight a PR where a test with a certain label is touched.
Note:
owners-label
plugin can only apply labels to matching glob expressions, it doesn't care about test labels.Use case
if a
[Conformance]
test is changed, we want to apply a label to the PR (suggestion:kind/conformance
)Implementation
Create external-plugin similar to other project-infra implementations that reacts on GitHub pull_request events.
Initial implementation will add the label if any test holding source label is changed, and remove the label if no change inside the PR for any test holding source label is detected.
Notes:
Config:
/kind enhancement
/area automation
FYI @fossedihelm @brianmcarey
Links:
The text was updated successfully, but these errors were encountered: