Skip to content

Commit

Permalink
Execute coverage upload only for passed workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
OptimumCode committed Aug 3, 2024
1 parent 68c8b1d commit 42de79f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/code-coverage-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
upload:
runs-on: ubuntu-latest
if: github.event.workflow_run.actor.name != 'dependabot[bot]' && github.repository == 'OptimumCode/json-schema-validator'
if: github.event.workflow_run.actor.name != 'dependabot[bot]' && github.repository == 'OptimumCode/json-schema-validator' && github.event.workflow_run.conclusion == 'success'
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v4
Expand Down

0 comments on commit 42de79f

Please sign in to comment.