Skip to content

Commit 03f785c

Browse files
committed
Add permissions to upload coverage report
1 parent 63a90fd commit 03f785c

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/scan.yml

+9-7
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ on:
1313

1414
permissions:
1515
contents: write
16-
security-events: write # for codeQL to write security events
16+
checks: write
17+
pull-requests: write
18+
security-events: write
1719

1820
jobs:
1921
fossa:
@@ -100,9 +102,9 @@ jobs:
100102
run: |
101103
cargo tarpaulin --out Xml --timeout 240
102104
103-
# - name: Upload coverage to Codecov
104-
# uses: codecov/codecov-action@v3
105-
# with:
106-
# files: target/tarpaulin/coverage.xml
107-
# fail_ci_if_error: true
108-
# verbose: true
105+
- name: Upload coverage to Codecov
106+
uses: codecov/codecov-action@v3
107+
with:
108+
files: target/tarpaulin/coverage.xml
109+
fail_ci_if_error: false
110+
verbose: true

0 commit comments

Comments
 (0)