From 5ad49efc4fae878d9324830a81d655aa76252ee2 Mon Sep 17 00:00:00 2001 From: Sheetal Date: Mon, 29 Jan 2024 14:36:09 -0700 Subject: [PATCH] use fresh token --- .github/workflows/create-release-transactional.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/create-release-transactional.yml b/.github/workflows/create-release-transactional.yml index 81e80cf..1208447 100644 --- a/.github/workflows/create-release-transactional.yml +++ b/.github/workflows/create-release-transactional.yml @@ -407,7 +407,7 @@ jobs: - name: Create Release uses: actions/create-release@latest env: - GITHUB_TOKEN: ${{ secrets.GIT_HUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GIT_CODEGEN_TOKEN }} SPEC_VERSION: ${{ needs.validate.outputs.version }} with: tag_name: ${{ github.ref }} @@ -452,7 +452,7 @@ jobs: git commit -m "Update mailchimp-transactional-node to v${{ env.SPEC_VERSION }}" git push origin master --force env: - GITHUB_TOKEN: ${{ secrets.GIT_HUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GIT_CODEGEN_TOKEN }} SPEC_VERSION: ${{ needs.validate.outputs.version }} - name: Publish → npm → transactional-node @@ -499,7 +499,7 @@ jobs: git tag -a v${{ env.SPEC_VERSION }} -m "Update v${{ env.SPEC_VERSION }}" git push origin master --follow-tags --force env: - GITHUB_TOKEN: ${{ secrets.GIT_HUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GIT_CODEGEN_TOKEN }} SPEC_VERSION: ${{ needs.validate.outputs.version }} publish-ruby: @@ -551,7 +551,7 @@ jobs: git commit -m "Update mailchimp-transactional-ruby to v${{ env.SPEC_VERSION }}" git push origin master --force env: - GITHUB_TOKEN: ${{ secrets.GIT_HUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GIT_CODEGEN_TOKEN }} SPEC_VERSION: ${{ needs.validate.outputs.version }} - name: Publish → RubyGems → transactional-ruby @@ -606,7 +606,7 @@ jobs: git commit -m "Update mailchimp-transactional-python to v${{ env.SPEC_VERSION }}" git push origin master --force env: - GITHUB_TOKEN: ${{ secrets.GIT_HUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GIT_CODEGEN_TOKEN }} SPEC_VERSION: ${{ needs.validate.outputs.version }} - name: Publish → PyPI → transactional-python (test)