Skip to content

Commit

Permalink
Fix broken workflows ; adds permissions (#835)
Browse files Browse the repository at this point in the history
  • Loading branch information
samruddhikhandale authored Feb 9, 2024
1 parent 30e03b6 commit 42925ae
Show file tree
Hide file tree
Showing 3 changed files with 8 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@v3

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
3 changes: 3 additions & 0 deletions .github/workflows/update-dotnet-install-script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ jobs:
fetch-latest-dotnet-install:
runs-on: ubuntu-latest
environment: documentation # grants access to secrets.PAT, for creating pull requests
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v3

Expand Down

0 comments on commit 42925ae

Please sign in to comment.