diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index afcc41c..e82a671 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -50,5 +50,7 @@ jobs: - name: Publish to NPM run: pnpm publish --access public --tag ${{ inputs.prerelease == true && 'next' || 'latest' }} --publish-branch ${{ github.ref_name }} --no-git-checks - name: 'Create release notes' + env: + GITHUB_TOKEN: ${{ github.token }} run: | - pnpx @matteo.collina/release-notes -a ${{ secrets.GH_RELEASE_TOKEN }} -t v${{ inputs.version }} -o platformatic -r dynamic-buffer ${{ github.event.inputs.prerelease == 'true' && '-p' || '' }} -c ${{ github.ref }} + pnpx @matteo.collina/release-notes -t v${{ inputs.version }} -o platformatic -r dynamic-buffer ${{ github.event.inputs.prerelease == 'true' && '-p' || '' }} -c ${{ github.ref }}