Skip to content

Commit fdbeadc

Browse files
authored
ci: Avoid needlessly running coverage builds (#2815)
1 parent 2c5057f commit fdbeadc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939

4040
codecov:
4141
needs: meta
42-
if: github.event_name == 'push' || needs.meta.outputs.any_changed == 'true'
42+
if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || needs.meta.outputs.any_changed == 'true'
4343
runs-on: ubuntu-latest
4444
timeout-minutes: 30
4545
container:

0 commit comments

Comments
 (0)