You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The sparse-checkout feature is really useful for larger repos, I'm wondering if this feature could leverage the pre-defined paths definition for the github-actions workflow triggers.
So if you defined:
on:
push:
paths:
- 'MyApplication/src'
- 'MyApplicaton/tests'
Which would auto-generate the sparse-checkout patterns based on the paths provided in the workflow definition.
I'm thinking based on the fact most Application builds with source code will use triggers based on the code needed to build the application, and thus could be re-used when checking out said code.
This is a rough idea, so not sure if the example provided captures the best implementation :)
The text was updated successfully, but these errors were encountered:
The sparse-checkout feature is really useful for larger repos, I'm wondering if this feature could leverage the pre-defined paths definition for the github-actions workflow triggers.
So if you defined:
The checkout step could have a features like:
Which would auto-generate the sparse-checkout patterns based on the paths provided in the workflow definition.
I'm thinking based on the fact most Application builds with source code will use triggers based on the code needed to build the application, and thus could be re-used when checking out said code.
This is a rough idea, so not sure if the example provided captures the best implementation :)
The text was updated successfully, but these errors were encountered: