Skip to content

Commit

Permalink
Update workflows - Fix permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
samruddhikhandale committed Feb 16, 2024
1 parent e97a520 commit 71063d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
deploy:
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- uses: actions/checkout@v2

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/update-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
generate:
runs-on: ubuntu-latest
environment: documentation
permissions:
contents: write
pull-requests: write
if: "github.ref == 'refs/heads/main'"
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 71063d5

Please sign in to comment.