-
Notifications
You must be signed in to change notification settings - Fork 428
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
labeler.yml example to match all repo files #28
Comments
same for me |
similar issue? isaacs/minimatch#30 |
This worked for me: needs triage:
- '**' # index.php | src/main.php
- '.*' # .gitignore
- '.*/**' # .github/workflows/label.yml the |
It is not clear how to match all files. This example will explain how to match any file. has been tested with ```yml - '**' # index.php | src/main.php - '.*' # .gitignore - '.*/**' # .github/workflows/label.yml ``` The `./` at the start actually doesn't work fixes actions#28
Thanks I was trying to do the same thing and was confused why the "./*" syntax in the README wasn't working. It would be great if someone from the team addressed the broken documentation. |
according to actions/labeler#28
according to actions/labeler#28
* ci(github): add label action for automatic settings * chore: label action step * fix: fix globs for ci label * ci(mergify): remove ci label action * chore: test fix for path recognition * fix: ci paths according to actions/labeler#28 * chore: add .mergify.yml to label action
* Update glob matching pattern for labeler Ref: actions/labeler#28 (comment)
Hello everyone! |
I'm trying to set up a rule to apply a
needs triage
label for any file change in a repo, but I can't get it to work without manually specifying at least one folder in the path.Here are some combinations I've tried without success:
It works for changes in a single folder if I provide at least part of a path, e.g.:
Any help would be awesome!
The text was updated successfully, but these errors were encountered: