Skip to content

Commit b5bebe5

Browse files
authored
chore: Use default token for release notes. (#74)
Signed-off-by: Paolo Insogna <paolo@cowtech.it>
1 parent ab16d43 commit b5bebe5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/publish_release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,7 @@ jobs:
4343
- name: Push release commit if publish succeeded
4444
run: git push origin HEAD:${{ github.ref }}
4545
- name: Create release notes
46+
env:
47+
GITHUB_TOKEN: ${{ github.token }}
4648
run: |
47-
npx @matteo.collina/release-notes -a ${{ secrets.GITHUB_TOKEN }} -t v${{ inputs.version }} -r ${{ github.repository }} ${{ github.event.inputs.prerelease == 'true' && '-p' || '' }} -c ${{ github.ref }}
49+
npx @matteo.collina/release-notes -t v${{ inputs.version }} -r ${{ github.repository }} ${{ github.event.inputs.prerelease == 'true' && '-p' || '' }} -c ${{ github.ref }}

0 commit comments

Comments
 (0)