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

CI: run dependent jobs after skipped ones #402

Merged
merged 4 commits into from
Sep 1, 2021

Conversation

jstriebel
Copy link
Contributor

Description:

Jobs which depend on skipped jobs, are also skipped normally. We want to run them in this case, except any of the previous jobs failed. I used the solution from here for this
actions/runner#491 (comment)

An alternative would be to place the original job conditional on all the single steps, which should result in the same behavior (only steps are skipped, the whole job would be successful). A step / action for a successful early exit would also help, but this does not seem to exist.

@jstriebel jstriebel requested a review from normanrz September 1, 2021 11:50
@jstriebel jstriebel self-assigned this Sep 1, 2021
@bulldozer-boy bulldozer-boy bot merged commit 1c4f2a6 into master Sep 1, 2021
@bulldozer-boy bulldozer-boy bot deleted the run-dependent-jobs-after-skip branch September 1, 2021 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants