-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Having trouble setting up correctly #79
Comments
Your setup seems to be correct, you have configured the paths feature as expected. My feeling is that your repo has very few successful checks that are parents of the commits that you want to path-skip. |
I have to admit that the logging-situation was bad, which made it hard to see why paths-skipping failed. |
That could actually be it! The part that through me off was that the PR that I opened to change the workflow file worked as indented in the first place, it only ran the |
Hey! I have troubles setting this action up correctly. I think I configured it correctly but the jobs that I specified using the
if
-clause still get all triggered.Here is the workflow file: https://github.com/Spotifyd/spotifyd/blob/master/.github/workflows/ci.yml
And here is the PR that triggers all steps, even though it should only trigger the
pre_job
one: Spotifyd/spotifyd#743I've tried to set the action up so it only triggers
codestyle
,lint
andcheck
if files inside ofsrc/
change or one of the following files:Cargo.toml
,Cargo.lock
,.github/workflows/ci.yml
.I'd really really appreciate your help, as we are having troubles with protected branches and GitHub's
paths
feature. All our PRs hang and wait for checks :(The text was updated successfully, but these errors were encountered: