diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c63b6d6..42b6bfd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,6 +19,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + with: + persist-credentials: false - uses: actions/setup-node@v2 with: node-version: 12 @@ -26,7 +28,7 @@ jobs: - name: Semantic Release uses: cycjimmy/semantic-release-action@v2.3.0 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GH_PAT }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} # publish-gpr: