From 675e7e37ad7d113692d2b24fdb70054a14010dc5 Mon Sep 17 00:00:00 2001 From: Sergei Zaiaev Date: Mon, 10 Jun 2024 15:14:23 +0300 Subject: [PATCH] Update permissions --- .github/workflows/github-pages.yml | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index 8352e61..6dd7c84 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -5,6 +5,11 @@ on: branches: - master +permissions: + contents: read + pages: write + id-token: write + jobs: jekyll-build: runs-on: ubuntu-latest @@ -32,20 +37,6 @@ jobs: deploy: runs-on: ubuntu-latest needs: jekyll-build - permissions: - actions: read - checks: read - contents: read - deployments: write - issues: read - discussions: read - packages: read - pages: write - pull-requests: read - repository-projects: read - security-events: read - statuses: read - id-token: write steps: - name: Deploy to GitHub Pages id: deployment