sanitizers / chronographer-github-app

Your severe chronographer robot who is watching you record all the news to change note files!
https://github.com/apps/chronographer
GNU General Public License v3.0
10 stars 3 forks source link

opt-out the tagging by bot:chronographer:provided #40

Closed praiskup closed 2 weeks ago

praiskup commented 3 weeks ago

This tag is not needed in our case - it is enough to see a failed CI check mark.

It would be nice to have an option to turn off tagging.

Upvote & Fund

Fund with Polar

webknjaz commented 3 weeks ago

Ref #12

webknjaz commented 3 weeks ago

Sounds reasonable. We'd need to decide the shape/UX of the config for this, though. Perhaps

labels:
  changelog-detected: change note found  # default: `bot:chronographer:provided`, disable with `~`

would do. ~ is an equivalent of None / null in YAML, IIRC. Needs checking, though.

If somebody wants to make a PR, here's the places where this would need to be integrated:

And the config-related examples are here:

Make sure to follow the existing code style around, I don't remember if I configured many linters.

webknjaz commented 2 weeks ago

@praiskup I've gone for the following UX:

labels:
  fragment-provided: ~  # opt out

The feature is live. Give it a try.

praiskup commented 2 weeks ago

And it worked in https://github.com/rpm-software-management/mock/pull/1393 !