Skip to content

Commit

Permalink
docs: fix workflow permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
petyosi committed Oct 28, 2023
1 parent e100e89 commit 0956055
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
publish-site:
name: Publish site
uses: mdx-editor/site/.github/workflows/release.yml@master
secrets: inherit
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance

0 comments on commit 0956055

Please sign in to comment.