Skip to content

Commit c4e6348

Browse files
committed
update coverage badge on main only
1 parent f11d09d commit c4e6348

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/bevy_mod_scripting.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
path: target/coverage/html/
8989

9090
- name: Update coverage badge
91-
if: ${{ matrix.run_args.generates_coverage }}
91+
if: ${{ matrix.run_args.generates_coverage && github.ref == 'refs/heads/main' }}
9292
run: |
9393
cp target/coverage/html/badges/for_the_badge.svg badges/coverage.svg
9494

0 commit comments

Comments
 (0)