From df42d891c25fae6126ed911f9d5b949785f4227c Mon Sep 17 00:00:00 2001 From: Dinh Bao Dang <250694+chillinPanda@users.noreply.github.com> Date: Fri, 6 Oct 2023 12:58:29 +0200 Subject: [PATCH] docs(deployment): add permissions config to github action file in v2.4.3 (#9377) --- website/versioned_docs/version-2.4.3/deployment.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/website/versioned_docs/version-2.4.3/deployment.mdx b/website/versioned_docs/version-2.4.3/deployment.mdx index f1007b91e7..0c49003366 100644 --- a/website/versioned_docs/version-2.4.3/deployment.mdx +++ b/website/versioned_docs/version-2.4.3/deployment.mdx @@ -390,6 +390,9 @@ on: # Review gh actions docs if you want to further define triggers, paths, etc # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on +permissions: + contents: write + jobs: deploy: name: Deploy to GitHub Pages @@ -488,6 +491,9 @@ on: push: branches: [main] +permissions: + contents: write + jobs: test-deploy: if: github.event_name != 'push'