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
Currently, we are running actions based on workflow completion, in the following order:
Model Test
Update to S3
Update to DockerHub
The workflow completion does not mean that it will run only if the workflow has succeeded, it runs in any case, which then makes the pipeline useless since models that fail the test will still be on DockerHub.
I have been playing with this model (eos7pw8) to find the right combination of if statements. We need to add the following if statement on the Update to S3 and Update to DockerHub: if: ${{ github.event.workflow_run.conclusion == 'success' }}
And if we want both statements (the one we had and this new one) This should be the syntax: ${{ github.repository != 'ersilia-os/eos-template' && github.event.workflow_run.conclusion == 'success' }}
You can see how it works in this pipeline of actions
The text was updated successfully, but these errors were encountered:
GemmaTuron
changed the title
Run Gtit Action only on workflow SUCCESS
Run Git Action only on workflow SUCCESS
Jun 21, 2023
Currently, we are running actions based on workflow completion, in the following order:
The workflow completion does not mean that it will run only if the workflow has succeeded, it runs in any case, which then makes the pipeline useless since models that fail the test will still be on DockerHub.
I have been playing with this model (eos7pw8) to find the right combination of if statements. We need to add the following if statement on the Update to S3 and Update to DockerHub:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
And if we want both statements (the one we had and this new one) This should be the syntax:
${{ github.repository != 'ersilia-os/eos-template' && github.event.workflow_run.conclusion == 'success' }}
You can see how it works in this pipeline of actions
The text was updated successfully, but these errors were encountered: