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

Question: Howto set a label if 2 files are changed within one PR #583

Closed
mcm1957 opened this issue Jun 7, 2023 · 3 comments
Closed

Question: Howto set a label if 2 files are changed within one PR #583

mcm1957 opened this issue Jun 7, 2023 · 3 comments
Labels
duplicate This issue or pull request already exists feature request New feature or request to improve the current logic

Comments

@mcm1957
Copy link

mcm1957 commented Jun 7, 2023

Is there any way to set label if exactly 2 files are changed?

triage:
  - any: ["file1", "file2"]

will never triger as file1 and file2 never will match all paths.
But I cannot think of any construct using ! which will do this.

@mcm1957 mcm1957 added feature request New feature or request to improve the current logic needs triage labels Jun 7, 2023
@dfandrich
Copy link
Contributor

dfandrich commented Jun 7, 2023

Take a look at #423 and PR #487 which I believe will do what you want.

@mcm1957
Copy link
Author

mcm1957 commented Jun 8, 2023

Ok
Sounds like that current offical version cannot do this.

@MaksimZhukov
Copy link
Contributor

Hello @mcm1957!
Unfortunately, this is not possible at the moment. I am closing this issue as a duplicate of #423. Please track the feature progress in scope of that issue.

@MaksimZhukov MaksimZhukov added duplicate This issue or pull request already exists and removed needs triage labels Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists feature request New feature or request to improve the current logic
Projects
None yet
Development

No branches or pull requests

3 participants