Skip to content

Commit 278322b

Browse files
fix: use the action
1 parent 3f85f4f commit 278322b

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: Workflow for Codecov example-python
2+
permissions:
3+
id-token: write
24
on: [push, pull_request]
35
jobs:
46
run:
@@ -20,8 +22,4 @@ jobs:
2022
run: pytest --cov app --junitxml=junit.xml -o junit_family=legacy
2123
- name: Upload test results to Codecov
2224
if: ${{ !cancelled() }}
23-
run: |
24-
pip install sentry-prevent-cli
25-
sentry-prevent-cli -v upload --report-type test-results
26-
env:
27-
PREVENT_TOKEN: ${{ secrets.PREVENT_TOKEN }}
25+
uses: getsentry/prevent-action@latest

0 commit comments

Comments
 (0)