Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-comment when a PR touches unowned code paths #31

Open
chai-unitary opened this issue Jun 1, 2023 · 2 comments
Open

Auto-comment when a PR touches unowned code paths #31

chai-unitary opened this issue Jun 1, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@chai-unitary
Copy link

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 '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

@chai-unitary chai-unitary added the enhancement New feature or request label Jun 1, 2023
@github-actions
Copy link

github-actions bot commented Jun 1, 2023

👋 @chai-unitary
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.

@chai-unitary
Copy link
Author

@bubkoo or @urish if you've some context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant