ci(pr-validation): guard badge upload on coverage file

This commit is contained in:
Micheal Wilkinson
2026-03-21 21:07:43 +00:00
parent 7fbbb442a0
commit 65d0a95968

View File

@@ -151,7 +151,7 @@ jobs:
- name: Upload coverage badge - name: Upload coverage badge
id: badge id: badge
if: ${{ always() }} if: ${{ always() && hashFiles('coverage.out') != '' }}
uses: https://git.hrafn.xyz/aether/vociferate/coverage-badge@v1.1.0 uses: https://git.hrafn.xyz/aether/vociferate/coverage-badge@v1.1.0
with: with:
artefact-bucket-name: ${{ vars.ARTEFACT_BUCKET_NAME }} artefact-bucket-name: ${{ vars.ARTEFACT_BUCKET_NAME }}