From c95870351171ad453914c9bb7a1b6e8dca44fc91 Mon Sep 17 00:00:00 2001 From: Anthony McLin Date: Thu, 11 Mar 2021 20:56:53 -0800 Subject: [PATCH] ci: fix github tokens to allow commits by CI --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: