Make hash regex configurable
We use the Git commit hash to tag our images. Git hashes are shorter than container image tags, so the default regex that --ignore-hash-changes uses doesn't match them. It would be useful to be able to override this regex.
https://github.com/karlderkaefer/cdk-notifier/blob/b0d167d3f1ae6f6cec9b8e1886b7dcf8e8163539/transform/transformer.go#L219C35-L219C63
Here's an example PR comment that wasn't filtered out because of this issue: https://github.com/Opetushallitus/koto-rekisteri/pull/817#issuecomment-2659537983
@wolverian thanks for opening the issue, I think that is a useful new feature. I have released it now. you check documentation. You can set the regex by environment variable or command line argument. Additionally the comments also now get deleted if there are only hash changes
@wolverian as this open source project im doing in free time and I get no money or donation for it, I would really some appreciate some feedback in form of simple "thank you" or just "it works" or "it does not work because..". This would keep me motivated to also give support on future feature request
@karlderkaefer Thank you! I'm now testing this in https://github.com/Opetushallitus/koto-rekisteri/pull/907.