3

I'm the only front-end dev on our team and I would like to be notified whenever one of the other devs pushes a review that touches some "front-end" files (e.g., *.html or *.css). Is this possible?

We're using Gerrit v2.9.4.

bernk
  • 1,155
  • 2
  • 12
  • 22

1 Answers1

4

You can find any changes containing html files with following search (according to docs):

path:^.*\.html$

In my setup (Gerrit 2.12.2), I had to use (with trailing $, I've an error):

path:^.*\.html

Please note that you combine searches with boolean operators like AND and OR. Example:

path:^.*\.html OR path:^.*\.css

If you want to get notification, you can save this filter in your settings (Settings > Watched Projects). See this documentation for more details.

uwolfer
  • 4,356
  • 1
  • 25
  • 40