diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 14d9cbf..782c873 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,6 +7,8 @@ on: permissions: id-token: write # Required for OIDC / npmjs publish + contents: write + pull-requests: write jobs: publish: @@ -43,7 +45,7 @@ jobs: npm publish --access public ${{ steps.tag.outputs.tag }} 2>&1 - name: Create PR to increment version - uses: peter-evans/create-pull-request@v3 + uses: peter-evans/create-pull-request@v8 with: base: main commit-message: 'chore(actions): publish ${{ github.event.release.tag_name }} to npm'