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

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

Open
mofosyne opened this issue Jun 16, 2024 · 1 comment
Open

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

mofosyne opened this issue Jun 16, 2024 · 1 comment
Labels
feature request New feature or request to improve the current logic

Comments

@mofosyne
Copy link

mofosyne commented Jun 16, 2024

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.

@mofosyne mofosyne added feature request New feature or request to improve the current logic needs triage labels Jun 16, 2024
@HarithaVattikuti
Copy link
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
Labels
feature request New feature or request to improve the current logic
Projects
None yet
Development

No branches or pull requests

2 participants