Skip to content

Commit

Permalink
add permissions property to publish-nightly-build.yml and publish-rel…
Browse files Browse the repository at this point in the history
…ease-artifacts.yml (#195)
  • Loading branch information
mgamis-msft authored Jan 21, 2025
1 parent 585a8e8 commit ce03615
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish-nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ jobs:
needs: checkForChanges
if: needs.checkForChanges.outputs.hasChanged == 'true'
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- name: Install Node.js v20.17.x
uses: actions/setup-node@v3
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
publish:
runs-on: ubuntu-latest
name: Publish Release
permissions:
contents: write
id-token: write
steps:
- name: Use Node.js v20.17.x
uses: actions/setup-node@v3
Expand Down

0 comments on commit ce03615

Please sign in to comment.