Skip to content

Commit

Permalink
Add back permissions to download code coverage artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
fgrosse committed Jul 25, 2024
1 parent 254d271 commit 901c447
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ on:
branches:
- 'main'

#permissions:
# contents: read

jobs:
unit_tests:
name: "Unit tests"
Expand Down Expand Up @@ -38,6 +35,7 @@ jobs:
runs-on: ubuntu-latest
needs: unit_tests
permissions:
contents: read # to download code coverage results from unit_tests job
pull-requests: write # write permission needed to comment on PR
steps:
- uses: fgrosse/go-coverage-report@v1.0.0
Expand Down

0 comments on commit 901c447

Please sign in to comment.