Skip to content

Commit

Permalink
Merge pull request #343 from mailchimp/sdk_fix
Browse files Browse the repository at this point in the history
use another token for push to sdk repo
  • Loading branch information
sheetal-purple authored Feb 1, 2024
2 parents 3e76960 + d71e417 commit 4a768ff
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/create-release-transactional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ jobs:
- name: Create Release
uses: actions/create-release@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GIT_CODEGEN_TOKEN }} #use fresh token
SPEC_VERSION: ${{ needs.validate.outputs.version }}
with:
tag_name: ${{ github.ref }}
Expand Down Expand Up @@ -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.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GIT_CODEGEN_TOKEN }}
SPEC_VERSION: ${{ needs.validate.outputs.version }}

- name: Publish → npm → transactional-node
Expand Down Expand Up @@ -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.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GIT_CODEGEN_TOKEN }}
SPEC_VERSION: ${{ needs.validate.outputs.version }}

publish-ruby:
Expand Down Expand Up @@ -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.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GIT_CODEGEN_TOKEN }}
SPEC_VERSION: ${{ needs.validate.outputs.version }}

- name: Publish → RubyGems → transactional-ruby
Expand Down Expand Up @@ -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.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GIT_CODEGEN_TOKEN }}
SPEC_VERSION: ${{ needs.validate.outputs.version }}

- name: Publish → PyPI → transactional-python (test)
Expand Down

0 comments on commit 4a768ff

Please sign in to comment.