From f12c1db3cd0bca84731429cd0cc1cb8ea53f76f9 Mon Sep 17 00:00:00 2001 From: Caleb Date: Thu, 11 Jul 2024 14:34:45 -0400 Subject: [PATCH] Checking permissions for deploy --- .github/workflows/build_docs.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml index 24219248d..c583920a4 100644 --- a/.github/workflows/build_docs.yml +++ b/.github/workflows/build_docs.yml @@ -8,11 +8,6 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: -permissions: - contents: read - pull-requests: write - id-token: write - # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. concurrency: @@ -22,6 +17,10 @@ concurrency: jobs: build_docs: name: Build Docs + permissions: + contents: read + pull-requests: write + id-token: write environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }}