Skip to content

Commit

Permalink
add permissions property to publish-release-artifacts.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mgamis-msft committed Jan 18, 2025
1 parent 52c573c commit 0c6eded
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 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 Expand Up @@ -68,6 +71,8 @@ jobs:
run: |
git tag ${{ steps.version.outputs.newProjectVersion }}
git push --tags
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Create a new Release and publish artifacts
- name: Upload Release
Expand Down

0 comments on commit 0c6eded

Please sign in to comment.