Skip to content

Commit

Permalink
build: harden ci.yml permissions (#2252)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex <aleksandrosansan@gmail.com>

Signed-off-by: Alex <aleksandrosansan@gmail.com>
  • Loading branch information
sashashura committed Dec 8, 2022
1 parent 17346df commit 2489a3d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,15 @@ on:
- main
- master

permissions:
contents: read # to fetch code (actions/checkout)

jobs:
Tests:
permissions:
contents: read # to fetch code (actions/checkout)
checks: write # to create new checks (coverallsapp/github-action)

runs-on: ubuntu-latest
strategy:
matrix:
Expand Down

0 comments on commit 2489a3d

Please sign in to comment.