diff options
-rw-r--r-- | .github/workflows/ci.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2b32ea4..34755fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,9 @@ on: - "dependabot/**" pull_request: +permissions: + contents: read + jobs: lint: runs-on: ubuntu-latest @@ -25,6 +28,10 @@ jobs: run: npm run lint build: + permissions: + actions: write # for styfle/cancel-workflow-action to cancel/stop running workflows + checks: write # for coverallsapp/github-action to create new checks + contents: read # for actions/checkout to fetch code runs-on: ${{ matrix.os }} needs: lint strategy: |