Anyone have suggestions for getting some tools in place to monitor for when changes happen that match certain criteria (obvious one being when certain files change)? Hosting-wise, we use BitBucket Cloud, though I can’t find anything built-in that’d be useful (seems like most cloud-based solutions don’t offer pre-receive hook customisation?)
We’ve had some “issues” with people not considering the impact of changes to certain code, and just want a little more handholding before the next time that sort of issue happens. I’m sure I could rig something either with a webhookey endpoint, or a CI build that does it, but it just seems like the sort of thing there’d be a pre-built tool for.
Any ideas?
If you are using BitBucket Cloud you can create pr rules to include people into Review based on files change. And then you can create a user for a bot to monitor those PRs using standard BB notification emails. Of course if there is not much PRs bot is Overkill and human will be enough.
You can always “just” create a static script that pulls repo check diff for files and email people if something is found. This way you don’t link your solution to the git cloud offering.