diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 783df5e6..e1fef5b7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,9 @@ on: - master pull_request: +permissions: + contents: read + jobs: build-and-test: runs-on: ubuntu-latest diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index bb56bedb..146bf5c3 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -5,6 +5,10 @@ on: branches: - master +permissions: + # The generated docs are written to the `gh-pages` branch. + contents: write + jobs: build-and-deploy-docs: runs-on: ubuntu-latest