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 request: Only perform a checkout when it is required for paths-filter to operate. #198

Open
dcopso opened this issue Aug 10, 2023 · 0 comments

Comments

@dcopso
Copy link

dcopso commented Aug 10, 2023

Per https://github.com/dorny/paths-filter#supported-workflows, only the "Feature branches" and "Master, Release, or other long-lived branches" scenarios require the code to be checked out.

On some projects, a checkout can take a long time (on mine, sometimes 60s+). It would be nice if the conditions that a checkout was required could be expressed as a GitHub Actions expression for use in an if: statement on the checkout step to conditionally control whether the expensive checkout occurs before paths-filter.

Are all the conditions for which git commands must be used testable via GHA expressions?

Thanks. Love this action, it's saved us so much time!

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