diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 34ec96510..1a4acf6f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,9 @@ on: pull_request: ~ workflow_dispatch: ~ +permissions: + contents: read + jobs: # build checks that the app can build and runs tests on the latest node version build: @@ -82,6 +85,8 @@ jobs: docs: if: github.ref == 'refs/heads/master' runs-on: ubuntu-latest + permissions: + contents: write # peaceiris/actions-gh-pages pushes to gh-pages steps: - uses: actions/checkout@v7 with: