From 53e3597a6e358781ca45ac222272a975ad9ba96c Mon Sep 17 00:00:00 2001 From: Sergei Zaiaev Date: Mon, 10 Jun 2024 14:57:28 +0300 Subject: [PATCH] Update permissions for the deployment job --- .github/workflows/github-pages.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index e58c453..3675582 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -32,6 +32,20 @@ jobs: deploy: runs-on: ubuntu-latest needs: jekyll-build + permissions: + actions: read + checks: read + contents: read + deployments: write + id-token: read + issues: read + discussions: read + packages: read + pages: write + pull-requests: read + repository-projects: read + security-events: read + statuses: read steps: - name: Deploy to GitHub Pages id: deployment