From 995140ce1e68c577260c7f38c2231d80330de59b Mon Sep 17 00:00:00 2001 From: Huanyu Zhang Date: Wed, 31 Jan 2024 12:26:29 -0800 Subject: [PATCH] Grant "write" permission to "github-actions[bot]" (#621) Summary: Grant "write" permission to "github-actions[bot]" to avoid permission issue in deploying github page (https://github.com/pytorch/opacus/actions/runs/7659084329). Differential Revision: D53131111 --- .github/workflows/deploy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 447f6584..8091593c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -9,6 +9,9 @@ jobs: deploy: name: Deploy to GitHub Pages runs-on: ubuntu-latest + permissions: + # Grant write permission here so it can be pushed to gh-pages branch + contents: write defaults: run: working-directory: website