diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 49f67db..3dcef44 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -4,6 +4,10 @@ on: push: branches: - main +permissions: + contents: write + pull-requests: write + jobs: release-please: runs-on: ubuntu-latest @@ -11,6 +15,7 @@ jobs: - uses: google-github-actions/release-please-action@v4 id: release with: + token: ${{ secrets.MY_RELEASE_PLEASE_TOKEN }} release-type: node # The logic below handles the npm publication: - uses: actions/checkout@v4