ci: upload codecov only on main pushes

This commit is contained in:
xixu-me committed 2026-03-24 19:10:38 +08:00
1 parent b247c78c23
commit 20a6ea0a93
1 file changed
+1
+1
View File
@@ -67,6 +67,7 @@ jobs:
run: bun run test:coverage
- name: Upload coverage to Codecov
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: codecov/codecov-action@v5
with:
files: ./coverage/lcov.info