diff --git a/.github/workflows/make_release.yml b/.github/workflows/make_release.yml index 18afabf..6a8192d 100644 --- a/.github/workflows/make_release.yml +++ b/.github/workflows/make_release.yml @@ -13,7 +13,7 @@ jobs: with: dry_run: true bump: patch - github_token: ${{ secrets.GITHUB_TOKEN }} + github_token: ${{ secrets.REPO_SCOPED_TOKEN }} - run: echo "${{ steps.next_version.outputs.version }}" > version - run: echo "${{ steps.next_version.outputs.version }}" - run: | @@ -25,13 +25,13 @@ jobs: echo ::set-output name=sha::$(git rev-parse HEAD) - uses: zwaldowski/semver-release-action@v1 with: - github_token: ${{ secrets.GITHUB_TOKEN }} + github_token: ${{ secrets.REPO_SCOPED_TOKEN }} sha: ${{ steps.git_commit.outputs.sha }} - name: Create Release id: create_release uses: actions/create-release@v1 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token + GITHUB_TOKEN: ${{ secrets.REPO_SCOPED_TOKEN }} # This token is provided by Actions, you do not need to create your own token with: tag_name: ${{ steps.next_version.outputs.version }} release_name: Release ${{ steps.next_version.outputs.version }}