Skip to content

Commit

Permalink
Keep read-only permissions in CI workflow (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelnietoa committed Dec 27, 2022
1 parent a6fa0a8 commit 4839137
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ permissions: # added using https://github.com/step-security/secure-workflows

jobs:
test:
permissions:
checks: write # for coverallsapp/github-action to create new checks
contents: read # for actions/checkout to fetch code
runs-on: ubuntu-latest
steps:
- name: Harden Runner
Expand All @@ -28,6 +25,6 @@ jobs:
- run: yarn
- run: yarn test --coverage
- name: Coveralls
uses: coverallsapp/github-action@3284643be2c47fb6432518ecec17f1255e8a06a6
uses: coverallsapp/github-action@3284643be2c47fb6432518ecec17f1255e8a06a6 # master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4839137

Please sign in to comment.