Skip to content

Commit

Permalink
Grant "write" permission to "github-actions[bot]" (#621)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #621

Grant "write" permission to "github-actions[bot]" to avoid permission issue in deploying github page (https://github.com/pytorch/opacus/actions/runs/7659084329).

Reviewed By: karthikprasad

Differential Revision: D53131111

fbshipit-source-id: 86e722035c2a0bb9e69721953791b9206f45ad26
  • Loading branch information
HuanyuZhang authored and facebook-github-bot committed Jan 31, 2024
1 parent 026c2a0 commit 4453702
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4453702

Please sign in to comment.