Use WF to label PRs breaks-robottelo on comment
This is a workflow that uses https://github.com/theforeman/actions/pull/69 to add breaks-robottelo label to a PR when a comment /label breaks-robottelo is added to it.
Reason:
In my team, we've identified a problem: often, a PR breaks our tests, be it an API change, UI change, or whatever not-that-important change that gives QE hard time in the process of finding a failure, identifying a change, investigating whether the change was intended and fixing the test in Robottelo. Most often, it seems, this is caused by WebUI locators changes. We have proposed this solution: there will be an optional label for foreman and foreman-plugin repos that developers should set when they expect some change will break tests, especially WebUI. The QEs then should prefer to look at these PRs to change the tests before they get broken.
To make this work:
- merge the actions PR
- add a
breaks-robottelolabel in the repo - merge this PR
After it is merged, I'll open similar PRs against other theforeman repos as well
Guidelines: https://github.com/theforeman/theforeman.org/pull/2234
Bump @MariaAga @ekohl
- Actions PR merged
/label breaks-robottelo
@evgeni you merged this PR without first creating a new label "breaks-robottelo" in this repo. The action can't add a label to a PR that isn't first manually added to the repo.
🤷♀️
I was only asked to merge it ;)
/label breaks-robottelo