labeler icon indicating copy to clipboard operation
labeler copied to clipboard

Possible timeline for an official release with support for `any` and `all`

Open kbendick opened this issue 3 years ago • 1 comments

Thank you so much for the work that you've all put in on this labeler action!

I've been going through some of the apache repos and updating them to use this labeler, as they previously used the probot autolabeler which is no longer maintained. While working on updating apache/spark here https://github.com/apache/spark/pull/30244, I encountered a problem that could only be solved via the use of any.

I read in an issue that support for the any match is only available using the main branch (which was called master at the time of the comment, back in June). That was found here:

The README is a bit outdated. `any` and `all` are only available on the master branch. You must use `actions/labeler@master` until it is officially released.

_Originally posted by @jalaziz in https://github.com/actions/labeler/issues/73#issuecomment-639034278_

Would it be possible to release a version that has support for any / all? In order to exactly match our config from before, for matches that use !, we need to use an any list as otherwise all files that aren't that file are matching. However, when I tried on main (which is the new primary branch name), I had some unexpected behavior and labels that had been correctly applied stopped being applied. This could have been an error on my end, but it would be nice to rely on a tagged version rather than just the head of the main branch. So overall, I'd prefer to use a released version if possible.

Any update on a timeline for a release with support for any would be great! Thank you again for the very, very useful tool!

kbendick avatar Nov 05 '20 02:11 kbendick

v4 should, although I'm still struggling to get this to work

jberryman avatar Mar 24 '22 14:03 jberryman

Hello everyone! This feature has been released. Feel free to use it with the v4 tag. Thank you for your patience.

MaksimZhukov avatar Dec 12 '22 07:12 MaksimZhukov