-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
Filtering paths & skipping concurrent runs can lead to problems #312
Comments
Could you please share your config? |
Created a repro repository. The workflow is setup to use skip jobs. It ignores changes to https://github.com/bjchambers/skip-actions-repro/blob/main/.github/workflows/workflow.yml I made a PR that first added a file. This behaves as follows:
I then added a commit that changed
|
Thanks! 👍 I'll have a look at this. |
Thank you for providing the reproducing repo! In fact, I would consider concurrent skipping as an experimental feature. |
1-push
because of the push and1-pr
because of the pull request.1-pr
because it is concurrent and newer than1-push
.1-push
(see it's going to fail, etc.)What I'd expect: No successful, non-skipped run has occurred, so we need to run things.
What happens: Both jobs run on commit 2, but both decide that since (a) the only change is ignorable and (b) the most recent run (
1-pr
succeeded -- by skipping everything) there is nothing to do.It seems like perhaps instead of "skip if there are no changed files since a successful run" it should be "skip if there are no changed files since a non-skipped successful run".
Is this a known issue / existing work arounds?
The text was updated successfully, but these errors were encountered: