Skip to content

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

@chai-unitary

Description

@chai-unitary

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions