Skip to content

Apply label only if it's the only change to the document #788

Open

Description

@mofosyne

In jart/cosmopolitan#1219 we had an issue where a label named 'testing' was triggering for commits with testing changes but is considered more than just testing. This makes the label a bit too noisy.

This can also apply to documentation PRs as well. Perhaps we only want to apply documentation and testing label if its a PR dedicated to only these changes.

Some way to add a mode where we are making an 'extra' exclusive match would be appreciated... to adjust below case to be specific to PRs with only changes to this folder.

testing:
    - changed-files:
        - any-glob-to-any-file:
            - test/**

Are you willing to submit a PR?
Not intending to make a PR for this proposal for now.

Activity

  1. added
    feature request
    on Jun 16, 2024
  2. v-HarithaVattikuti commented on Jun 18, 2024

    @v-HarithaVattikuti
    Contributor

    Hello @mofosyne
    We appreciate your suggestion for a new feature! We'll make sure to address it when we have the opportunity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions