Skip to content

Commit

Permalink
Fix missing permission in create release workflow (#118681) (#120518)
Browse files Browse the repository at this point in the history
  • Loading branch information
pytorchbot and huydhn committed Mar 16, 2024
1 parent 5ba8a77 commit 49022c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
if: ${{ github.repository == 'pytorch/pytorch' }}
name: Create Release
runs-on: ubuntu-latest
# https://github.com/softprops/action-gh-release?tab=readme-ov-file#permissions
permissions:
contents: write
steps:
- uses: malfet/checkout@silent-checkout
with:
Expand Down

0 comments on commit 49022c7

Please sign in to comment.