You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Action does not match folders starting with dot (.) #135
if I have a change in a folder src/.deploy and matcher for src/**/* it would not be matched.
Expected:
folders starting with dot should be matched as well.
It seems the issue is related to how Minimatch works. See isaacs/minimatch#30 . Consider passing {dot: true} by default.
Reacted by Stanislav (Stan) Hristov, Fatme, alfieyfc, Mathias Nedrebø, Phát, Thomas Fuchs-Martin, M. de Verteuil, Alexander Kachkaev, Curtis Dulmage, David Apirian and 8 more
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 { dot: true } to minimatch and release version 4.
Our current .github/labeler.yml in hashintel/hash is pretty long because of this issue:
steps:
- uses: kachkaev/labeler@305cfeb74cfa5c4878bf6418b4815a4106f2e345## @todo replace with actions/labeler@v4 (or newer) when this PR is merged:## https://github.com/actions/labeler/pull/316with:
dot: truerepo-token: "${{ secrets.GITHUB_TOKEN }}"
This works but does not let me stay up to date with other potential updates in actions/labeler. I'd love to switch back to the original action when dot option is released.
Activity
alfieyfc commentedon Apr 8, 2021
I'm just giving it a wild guess, would it be just to add that parameter to these two lines?
labeler/src/main.ts
Line 187 in 69990a6
labeler/src/main.ts
Line 202 in 69990a6
mcieplucha commentedon Apr 12, 2021
actually I'm having issues even with root level configuration like:
- ./*.jswhich seems to be not working. anyone did manage to make it work?
6thpath commentedon Sep 17, 2021
been 5 months already, any update on this?
kachkaev commentedon Nov 24, 2021
How about adding a new action param to make the fix non-breaking?
- uses: actions/labeler@v3 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" + dot: trueHappy to work on the PR if anyone reading this comment has capacity to review it and cut a release. Alternatively, we can just add
{ dot: true }to minimatch and release version 4.Our current
.github/labeler.ymlin hashintel/hash is pretty long because of this issue:😔
boliveira commentedon Nov 25, 2021
How is the status of this?
beefchimi commentedon Jan 6, 2022
Would also love to see a fix for this 🙏
logicbomb421 commentedon Jan 29, 2022
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?
kachkaev commentedon Feb 4, 2022
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
dotinput: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! 🤞
kachkaev commentedon Nov 30, 2022
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:
This works but does not let me stay up to date with other potential updates in
actions/labeler. I'd love to switch back to the original action whendotoption is released.MaksimZhukov commentedon Jun 6, 2023
Hello everyone!
We have released a new version of the action with this feature on board.
Thank you for the patience!
kachkaev commentedon Dec 5, 2023
The
dotoption istrueby default in v5 🎉Release notes: https://github.com/actions/labeler/releases/tag/v5.0.0