Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Set permissions for GitHub actions #2051

Merged
merged 7 commits into from Jun 4, 2022
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -4,8 +4,13 @@ on:
- push
- pull_request

permissions:
contents: read
lpinca marked this conversation as resolved.
Show resolved Hide resolved

jobs:
test:
permissions:
checks: write # Needed for coverallsapp/github-action.
lpinca marked this conversation as resolved.
Show resolved Hide resolved
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down Expand Up @@ -55,6 +60,8 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel: true
coverage:
permissions:
checks: write
lpinca marked this conversation as resolved.
Show resolved Hide resolved
needs: test
runs-on: ubuntu-latest
steps:
Expand Down