Skip to content
This repository has been archived by the owner on Sep 9, 2023. It is now read-only.

Add token permissions for node.yml #319

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update node.yml
  • Loading branch information
arjundashrath authored Mar 9, 2022
commit e387dcfc14eefe6a26b0ea46211892c9d6f99971
11 changes: 11 additions & 0 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@ on:
branches: [master]
pull_request:

permissions:
contents: read

jobs:
validate:
permissions:
checks: write # for coverallsapp/github-action to create new checks
contents: read # for actions/checkout to fetch code
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down Expand Up @@ -42,6 +48,9 @@ jobs:
parallel: true

exchange:
permissions:
checks: write # for coverallsapp/github-action to create new checks
contents: read # for actions/checkout to fetch code
needs: [validate]
runs-on: ubuntu-latest
strategy:
Expand Down Expand Up @@ -107,6 +116,8 @@ jobs:
parallel: true

finish:
permissions:
checks: write # for coverallsapp/github-action to create new checks
needs: [validate, exchange]
runs-on: ubuntu-latest
steps:
Expand Down