Skip to content

Open-source personal finance manager. Self-hosted, privacy-first.

ci: skip coverage badge updates in forks (#667)

Albert Dolkun1a26ae01bf93
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5ff2b6e8..15242564 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -101,7 +101,7 @@ jobs:
echo "percentage=$COVERAGE" >> $GITHUB_OUTPUT
- name: Update coverage badge
- if: github.ref == 'refs/heads/main' && steps.backend-changes.outputs.run_backend == 'true'
+ if: github.repository == 'securo-finance/securo' && github.ref == 'refs/heads/main' && steps.backend-changes.outputs.run_backend == 'true'
uses: schneegans/[email protected]
with:
auth: ${{ secrets.GIST_TOKEN }}