-
Notifications
You must be signed in to change notification settings - Fork 12
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
label config issue #30
Comments
Heya @yeeteing Sorry but I'm a little slow today and struggling to follow your issue.
So is the commit being added to a branch that has an open pull request?
You are right. If it
Yes, this would trigger the auto labeling. IF you are not triggering it, could you provide the logs so we can investigate? To provide the logs: Please set the You can see an example of how we utilize this function here: https://github.com/Videndum/action-masterminds/blob/4ad0ff689353b86a122b3c0c5eace7303a7cd998/.github/allconfigs.json#L1071-L1083 |
Yup, correct. "modified": {
"requires": 1,
"conditions": [
{
"type": "branchMatches",
"pattern": "/modif|change|update/i"
},
{
"type": "titleMatches",
"pattern": "/restructure|modif|change|update|move|moving/i"
}
]
} |
@yeeteing can you link me or screenshot the open PR for me please |
Describe the bug
descriptionMatches was being activated even the pattern is being shown in commit. I thought descriptionMatches is only valid for pull request description, and commit should not trigger the labeling generation.
For:
I would assume that
"requires":
means how many conditions need to match in order to activate the labeling generator.So, if "requires" is 1, is that mean I just need one "conditions" to be valid to activate the
bugfix
label?The text was updated successfully, but these errors were encountered: