Skip to content

Commit

Permalink
test: updating tests to only execute when workflow event is a success
Browse files Browse the repository at this point in the history
  • Loading branch information
juancarlosjr97 committed Feb 20, 2024
1 parent 7b3c9b4 commit 98a62c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
release_options:
runs-on: ubuntu-latest
if: github.event.workflow_run.head_branch == 'main' || github.event.workflow_run.head_branch == 'develop'
if: github.event.workflow_run.conclusion == 'success' && (github.event.workflow_run.head_branch == 'main' || github.event.workflow_run.head_branch == 'develop')
outputs:
release_options: ${{ steps.release_options.outputs.release_options }}
steps:
Expand Down

0 comments on commit 98a62c0

Please sign in to comment.