You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a deploy workflow including tests after the build-main job and some stuff that happens before the build-main job.
My question is: can we cancel previous workflows only when the build-main job (in current running workflow) has not been started yet OR the build-main job has been finished?
example:
jobs:
prepare:
# do some preparation; workflow can be skipped
build-main:
needs:
- prepare
# do NOT skip workflow when build-main is running...
run-tests:
needs:
- build-main
# run tests; workflow can be skipped
The text was updated successfully, but these errors were encountered:
We have a deploy workflow including tests after the build-main job and some stuff that happens before the build-main job.
My question is: can we cancel previous workflows only when the build-main job (in current running workflow) has not been started yet OR the build-main job has been finished?
example:
The text was updated successfully, but these errors were encountered: