diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e207f658..add56663 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -6,8 +6,10 @@ jobs: build: runs-on: ubuntu-latest permissions: - contents: read - id-token: write + 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 steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -19,7 +21,7 @@ jobs: - run: npm run build # or any other step to build your package - name: run semantic-release env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} run: npm run semantic-release