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?

Had something along these lines - a mail server that ended up used almost exclusively for sending automated internal emails. We’d migrated to a third party for email sending because managing DNS etc for clients got pretty painful. Mail server got removed by the tech lead and repointed to our third party mail provider without telling anyone, and 3 days into the months we’d hit our billing limit, on the lead’s day off. Turns out that one service had been sending an order of magnitude more email than all of our other services put together, as someone had been using email as a logging method.
That was a… fun day.