Skip to content

Commit 2bccac9

Browse files
fix: use head repo
1 parent 1807fbc commit 2bccac9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Workflow for Codecov example-python
2-
on: [push, pull_request]
2+
on: [push, pull_request, pull_request_target]
33
jobs:
44
run:
55
runs-on: ubuntu-latest
@@ -15,9 +15,9 @@ jobs:
1515
- name: Install dependencies
1616
run: pip install -r requirements.txt
1717
- name: Run tests and collect coverage
18-
run: pytest --cov app ${{ env.CODECOV_ATS_TESTS }}
18+
run: pytest --cov app
1919
- name: Upload coverage to Codecov
20-
uses: codecov/codecov-action@v4
20+
uses: codecov/codecov-action@th/fix-head-repo-for-tokenless
2121
with:
2222
verbose: true
2323
env:

0 commit comments

Comments
 (0)