auto-comment
auto-comment copied to clipboard
Auto-comment when a PR touches unowned code paths
I want to use Auto-comment Github action but I want to trigger it based on a unique use-case
Unique because it doesn't seem to be available off-the-shelf: https://github.com/marketplace/actions/auto-comment
I am using CODEOWNERS.md to define which code paths are owned by which teams within our org.
I now want to configure a GH action that would comment something like
Alert/Warning ⚠️: You're touching <team A>'s codebase. Have you confirmed this change with them? Do they have knowledge of this?
Is it possible to tie in codeowners with auto-comment. If yes, can you recommend how? Thanks
Expected Behavior
Trigger auto-comment based on PR touching files in codeowners [created by author outside the owning team]
Possible Solution
Not sure