Skip to content

Commit

Permalink
Merge pull request #342 from mailchimp/php_sdk_fix
Browse files Browse the repository at this point in the history
github actions bot
  • Loading branch information
shogren authored Dec 5, 2023
2 parents 1d7bf4f + f2f9675 commit 7dccd33
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 25 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/create-release-transactional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
outputs:
version: ${{ steps.set-version.outputs.version }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Cache node_modules
uses: actions/cache@v1
env:
Expand All @@ -43,7 +43,7 @@ jobs:
runs-on: ubuntu-latest
needs: [validate]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Initialize Cache
id: init-cache-md
uses: actions/cache@v1
Expand All @@ -61,7 +61,7 @@ jobs:
runs-on: ubuntu-latest
needs: [validate, setup-cache]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Initialize Transactional Cache
id: init-cache-md
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
needs: [validate, setup-cache]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Initialize Transactional Cache
id: init-cache-md
uses: actions/cache@v1
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
runs-on: ubuntu-latest
needs: [validate, setup-cache]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Initialize Transactional Cache
id: init-cache-md
Expand Down Expand Up @@ -201,7 +201,7 @@ jobs:
runs-on: ubuntu-latest
needs: [validate, setup-cache]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Initialize Transactional Cache
id: init-cache-md
Expand Down Expand Up @@ -244,7 +244,7 @@ jobs:
runs-on: ubuntu-latest
needs: [generate-node]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v1
with:
node-version: '12.x'
Expand Down Expand Up @@ -277,7 +277,7 @@ jobs:
runs-on: ubuntu-latest
needs: [generate-php]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Initialize Transactional Cache
id: init-cache-mc
uses: actions/cache@v1
Expand Down Expand Up @@ -318,7 +318,7 @@ jobs:
runs-on: ubuntu-latest
needs: [generate-ruby]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Initialize Transactional Cache
id: init-cache-mc
uses: actions/cache@v1
Expand Down Expand Up @@ -362,7 +362,7 @@ jobs:
runs-on: ubuntu-latest
needs: [generate-python]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Initialize Transactional Cache
id: init-cache-mc
uses: actions/cache@v1
Expand Down Expand Up @@ -419,7 +419,7 @@ jobs:
runs-on: ubuntu-latest
needs: [validate, create-release]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v1
with:
node-version: '12.x'
Expand All @@ -446,8 +446,8 @@ jobs:
git clone https://github:"$GITHUB_TOKEN"@github.com/mailchimp/mailchimp-transactional-node repo # clone repo to track history
mv repo/.git . # move cloned git history to root
rm -rf repo
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add --force .
git commit -m "Update mailchimp-transactional-node to v${{ env.SPEC_VERSION }}"
git push origin master --force
Expand All @@ -467,7 +467,7 @@ jobs:
runs-on: ubuntu-latest
needs: [validate, create-release]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Initialize Transactional Cache
id: init-cache-md
uses: actions/cache@v1
Expand All @@ -492,8 +492,8 @@ jobs:
git clone https://github:"$GITHUB_TOKEN"@github.com/mailchimp/mailchimp-transactional-php repo # clone repo to track history
mv repo/.git . # move cloned git history to root
rm -rf repo
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add --force .
git commit -m "Update mailchimp-transactional-php to v${{ env.SPEC_VERSION }}"
git tag -a v${{ env.SPEC_VERSION }} -m "Update v${{ env.SPEC_VERSION }}"
Expand All @@ -506,7 +506,7 @@ jobs:
runs-on: ubuntu-latest
needs: [validate, create-release]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Initialize Transactional Cache
id: init-cache-md
uses: actions/cache@v1
Expand All @@ -515,7 +515,7 @@ jobs:
key: cache-dir

- name: Install Ruby 2.6.x
uses: actions/setup-ruby@v1
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6.x

Expand Down Expand Up @@ -545,8 +545,8 @@ jobs:
git clone https://github:"$GITHUB_TOKEN"@github.com/mailchimp/mailchimp-transactional-ruby repo # clone repo to track history
mv repo/.git . # move cloned git history to root
rm -rf repo
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add --force .
git commit -m "Update mailchimp-transactional-ruby to v${{ env.SPEC_VERSION }}"
git push origin master --force
Expand All @@ -564,7 +564,7 @@ jobs:
runs-on: ubuntu-latest
needs: [validate, create-release]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Initialize Transactional Cache
id: init-cache-md
uses: actions/cache@v1
Expand Down Expand Up @@ -600,8 +600,8 @@ jobs:
git clone https://github:"$GITHUB_TOKEN"@github.com/mailchimp/mailchimp-transactional-python repo # clone repo to track history
mv repo/.git . # move cloned git history to root
rm -rf repo
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add --force .
git commit -m "Update mailchimp-transactional-python to v${{ env.SPEC_VERSION }}"
git push origin master --force
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-transactional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
unzip zip/mailchimp-transactional-ruby.zip -d swagger-out/transactional-ruby
- name: Set up Ruby 2.6
uses: actions/setup-ruby@v1
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.6'

Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Transactional

### 1.0.55
* Updating github actions bot user email

### 1.0.54
* Fixing a problem with Github auth token that was preventing builds from being created.

Expand Down
2 changes: 1 addition & 1 deletion spec/transactional.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
},
"swagger": "2.0",
"info": {
"version": "1.0.54",
"version": "1.0.55",
"title": "Mailchimp Transactional API",
"contact": {
"name": "API Support",
Expand Down

0 comments on commit 7dccd33

Please sign in to comment.