ci: upload codecov only on main pushes
This commit is contained in:
1 parent
b247c78c23
commit
20a6ea0a93
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user