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

changes made in a specific folder #59

Open
thepeachkhoukha opened this issue Dec 20, 2022 · 1 comment
Open

changes made in a specific folder #59

thepeachkhoukha opened this issue Dec 20, 2022 · 1 comment

Comments

@thepeachkhoukha
Copy link

Is there a way to get the changes made by the pull request in a specific folder ?

@mellis481
Copy link

mellis481 commented Jan 21, 2023

This would be a great additional, optional parameter that get-changed-files could take. I imagine many people (like myself) are looking to use this action to determine if any changes in a specific folder were made and, if so, do something (e.g. run certain tests). Without that, we have to loop through all changed files and see if one of the files is in the folder we're interested in. If we could filter by folder, there'd be no looping, but rather just checking the length of the array.

CC: @sean-krail

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

No branches or pull requests

2 participants