diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index af142709dc..a6a5dd2cdf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,7 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 + persist-credentials: false # https://github.com/actions/cache/blob/main/examples.md#node---yarn - name: Get yarn cache directory path @@ -61,5 +62,5 @@ jobs: with: publish: yarn release env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GH_ACTIONS_PAT }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}