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

Sparse-checkout not working as expected in different workflows #2026

Open
GeorgeVictor8 opened this issue Jan 2, 2025 · 0 comments
Open

Comments

@GeorgeVictor8
Copy link

added sparse-checkout to my workflow and its setting up as i want it but its not behaving as expected for some reason, i have added the same exact code to my other workflows and it works as intended.

is this a bug or am i doing something wrong with my syntax? knowing that i have written that same syntax somewhere else in my project and it works perfectly, and is really good.

then when it comes to another job where it should be installing dependencies for my PR, it access all the apps/* and doesn't exclude and does the behaviour that am expecting which is installing the dependencies for only one app for example
if i checkout all apps ** !apps/**
i expect from the 2nd and 3rd Screenshot to get only app/current app of my pr and install the dependencies for this app
what happens with me is that i receive all apps like this command ** !apps ** doesn't work

image
image
image

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

1 participant