diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cfa434e..c689449 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: uses: anothrNick/github-tag-action@1.67.0 id: version env: - GITHUB_TOKEN: ${{ github.token }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} WITH_V: true DEFAULT_BUMP: patch - name: Major version tag @@ -33,7 +33,7 @@ jobs: if: ${{ (steps.version.outputs.new_tag != '') }} uses: ncipollo/release-action@v1 with: - token: ${{ github.token }} + token: ${{ secrets.GITHUB_TOKEN }} allowUpdates: true generateReleaseNotes: true tag: ${{ steps.major-version.outputs.tag }} @@ -42,7 +42,7 @@ jobs: if: ${{ (steps.version.outputs.new_tag != '') }} uses: ncipollo/release-action@v1 with: - token: ${{ github.token }} + token: ${{ secrets.GITHUB_TOKEN }} generateReleaseNotes: true tag: ${{ steps.version.outputs.new_tag }} name: Release ${{ steps.version.outputs.new_tag }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 16161ae..76bc6c9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,5 +26,5 @@ jobs: - name: JSTS Quality uses: ./ with: - github_token: ${{ github.token }} + github_token: ${{ secrets.GITHUB_TOKEN }} working_directory: ./test