'Github workflow set label to pull request when issue has labels
Just doing research and didnt find what I am searching for atm.
Thinking of this situation:
- There is a issue with 'bug' label
- Creating branch on github in that issue
- Committing stuff
- Creating a pull request for this issue
First question:
I thought the labels of the issue were cloned to the pull request. Is there a way to do so within a workflow?
I want to use this, but the conditions in 'Generate versions' has to be changed. I want to get the labels, check for 'rework' to increase major. Check for 'enhancement' to increase minor. And check for 'bug' to increase patch.
Second question:
Is there a way in githubs workflow to get the pull requests labels?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|