Skip to content

Commit

Permalink
Use the Github Actions permissions feature
Browse files Browse the repository at this point in the history
  • Loading branch information
ringods committed Oct 4, 2024
1 parent 2dddd58 commit dbd6982
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ env:
jobs:
publish:
name: publish
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Validate prerelease
Expand Down Expand Up @@ -88,7 +90,7 @@ jobs:
generate_release_notes: true
files: dist/*
env:
GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

publish_sdk:
name: publish_sdk
Expand Down

0 comments on commit dbd6982

Please sign in to comment.