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

[Feature] Get distinct changed folders #504

Closed
2 tasks done
mohitnayar123 opened this issue May 26, 2022 · 5 comments · Fixed by #522
Closed
2 tasks done

[Feature] Get distinct changed folders #504

mohitnayar123 opened this issue May 26, 2022 · 5 comments · Fixed by #522
Labels
enhancement New feature or request

Comments

@mohitnayar123
Copy link

Is this feature missing in the latest version?

  • I'm using the latest release

Is your feature request related to a problem? Please describe.

We have build actions which consumes list of files which have changed, since the list of files can be very long, we are facing an error where the argument is too long, to fix the same, if we had a distinct list of changed folders we would be able to deal with this issue.

Describe the solution you'd like?

An option which outputs a list of changed folders.

Describe alternatives you've considered?

No response

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@mohitnayar123 mohitnayar123 added the enhancement New feature or request label May 26, 2022
@github-actions
Copy link
Contributor

Thanks for reporting this issue, don't forget to star this project to help us reach a wider audience.

@jackton1
Copy link
Member

jackton1 commented May 28, 2022

@mohitnayar123 Do you have any preference for reading the list of changed files from a temporary file that bypasses the character limitation of GitHub actions instead of the list of changed directories?

@choffa
Copy link

choffa commented Jun 3, 2022

I would also like this feature, but for another reason:

We have a few repos that contains multiples microservices in seperate folders, or a backend service and a frontend in the same repo. Having an output with a list of changed directories would allow us to optimize running based on folders touched, saving time and compute.

@antimack
Copy link

+1 for a feature, can be really useful in monorepo versioning

@jackton1 jackton1 linked a pull request Jun 12, 2022 that will close this issue
@jackton1
Copy link
Member

jackton1 commented Jun 12, 2022

@choffa @antimack @mohitnayar123 @cristi-mb This is now available in the latest release.

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

Successfully merging a pull request may close this issue.

4 participants