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

Seems like period/dot in filename breaks the GH action #44

Open praiskup opened 1 week ago

praiskup commented 1 week ago

The leap-15.4.config has not been detected: https://github.com/rpm-software-management/mock/pull/1464

Upvote & Fund

Fund with Polar

webknjaz commented 1 week ago

Technically, that's expected due to the semantics of how Towncrier itself perceives the fragments. You probably need to fix your usage of Towncrier. Either replace the period with an underscore or a dash, or perhaps even go for an orphan fragment (starting with a leading + which is special-cased in Towncrier). Usually, the first part is the issue/PR number to be linked. Why didn't you want to follow that format?

praiskup commented 1 week ago

I opened this, because we hit a real-life issue with towncrier:

$ towncrier create foo.bar.baz.config
Created news fragment at /home/praiskup/rh/projects/mock/mock/releng/release-notes-next/foo.bar.baz.config

At least we were allowed to create such file, I assumed that it "is a correct snippet" then, and I'd expect that the action accepts it as well. But is this a bug of towncrier create?