Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use another token for push to sdk repo #343

Merged
merged 4 commits into from
Feb 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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