-
Notifications
You must be signed in to change notification settings - Fork 416
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
Issue of the label configuration file ".github/labeler.yml" #101
Comments
I also spotted this. It happens if I have more than one entry in the |
Ok, I have found what is the culprit there. The meaning of - any: ['./*', './src/*'] and - ./*
- ./src/* Have different meaning. The list in - any: ['./*']
- any: ['./src/*'] |
Nope. Still don't get it 😅 |
@mittalyashu assume that you have such definition
Then it will apply, as
Then it will not match, because while You can think of it like (using Ruby syntax):
|
Oh! I see. Well, seems like the docs were not clear. I was thinking that in the In that case, doesn't that means |
Not quite. |
Another user has the similar problem: He gets the same error message:
|
Hi team, Could anyone take a look at this issue? |
I'm also running into this issue. I'm unable to use any configuration that has |
Hit this error just now:
It appears to have labeled two things correctly before barfing out. |
Fixes #87 See actions/labeler#101
Hello everyone! Could you please use the new version and provide us with your feedback? |
Hello everyone! If you have any questions, ideas or concerns, please share them in this issue. |
Hello everyone! Thank you all for your patience! |
Associated GitHub Community ticket: https://github.mirror.nvdadr.community/t/labeler-typeerror-glob-pattern-string-required/133467
According to the README of this action, the following configurations in the label configuration file should work:
I tested with two label configuration files in my repository (see here).
And my workflow looks like this (see here):
I changed the following files:
However, finally only the
GHA
label was added successfully, the other three should also be added but not (see the example PR).When using '.github/labeler-01.yml', the actions always fails with the error (see job1):
When using '.github/labeler-02.yml', the action displays as success, but only the
GHA
label is added (see job2).The text was updated successfully, but these errors were encountered: