Skip to content

Commit

Permalink
ci: Avoid needlessly running coverage builds
Browse files Browse the repository at this point in the history
  • Loading branch information
olix0r committed Mar 19, 2024
1 parent 354ee57 commit 030fb67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

codecov:
needs: meta
if: github.event_name == 'push' || needs.meta.outputs.any_changed == 'true'
if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || needs.meta.outputs.any_changed == 'true'
runs-on: ubuntu-latest
timeout-minutes: 30
container:
Expand Down

0 comments on commit 030fb67

Please sign in to comment.