From e4674531dd54874c0abbc786ad5635c92c34dc3e Mon Sep 17 00:00:00 2001 From: Titus von Koeller <9048635+Titus-von-Koeller@users.noreply.github.com> Date: Fri, 30 Aug 2024 10:18:48 +0000 Subject: [PATCH] actions: update permissions for pr docs publishing --- .github/workflows/upload_pr_documentation.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/upload_pr_documentation.yml b/.github/workflows/upload_pr_documentation.yml index 6497caf2d..707705297 100644 --- a/.github/workflows/upload_pr_documentation.yml +++ b/.github/workflows/upload_pr_documentation.yml @@ -6,6 +6,10 @@ on: types: - completed +permissions: + contents: read + pull-requests: write # Allows posting comments on pull requests + jobs: build: uses: huggingface/doc-builder/.github/workflows/upload_pr_documentation.yml@main