From f7c9029fc21391627e9204ed7579dfee80d5989e Mon Sep 17 00:00:00 2001 From: MatthewFlamm <39341281+MatthewFlamm@users.noreply.github.com> Date: Tue, 3 Nov 2020 12:14:24 -0500 Subject: [PATCH] Use personal token in make_release (#17) --- .github/workflows/make_release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 }}