-
Notifications
You must be signed in to change notification settings - Fork 419
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
Action does not match folders starting with dot (.) #135
Comments
actually I'm having issues even with root level configuration like: |
been 5 months already, any update on this? |
How about adding a new action param to make the fix non-breaking? - uses: actions/labeler@v3
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
+ dot: true Happy to work on the PR if anyone reading this comment has capacity to review it and cut a release. Alternatively, we can just add Our current packages/foo:
- packages/foo/*
- packages/foo/.*
- packages/foo/**/*
- packages/foo/**/.*
# ↑ repeat ×20 😔 |
How is the status of this? |
Would also love to see a fix for this 🙏 |
My company uses this action and is also encountering this issue. Seems like this is a pretty simple update, would it be possible to get this out soon? |
Today we were configuring labels in blockprotocol/blockprotocol and I was like ‘oh no not this dot problem again’ 😅 So here is the fix: #316. It is non-breaking, just allows us to set the name: "Pull Request Labeler"
on:
- pull_request_target
jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v3
with:
+ dot: true
repo-token: "${{ secrets.GITHUB_TOKEN }}" I hope it will become available for everyone soon! 🤞 |
The solution to this confusing issue has been up for nearly 10 months: #316 😔 Any chance we can get it merged before NY2023? 🤞 In the meantime I am using my own fork in one repo: steps:
- uses: kachkaev/labeler@305cfeb74cfa5c4878bf6418b4815a4106f2e345
## @todo replace with actions/labeler@v4 (or newer) when this PR is merged:
## https://github.com/actions/labeler/pull/316
with:
dot: true
repo-token: "${{ secrets.GITHUB_TOKEN }}" This works but does not let me stay up to date with other potential updates in |
Hello everyone! |
The |
Actual:
src/.deploy
and matcher forsrc/**/*
it would not be matched.Expected:
It seems the issue is related to how Minimatch works. See isaacs/minimatch#30 . Consider passing
{dot: true}
by default.The text was updated successfully, but these errors were encountered: