Skip to content

Commit

Permalink
fix(ci): add email and name for git user in workflows (#5082)
Browse files Browse the repository at this point in the history
  • Loading branch information
Di Wu authored Nov 17, 2023
1 parent d45ef7e commit c81f187
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/kick-off-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ jobs:
pip3 install lxml
git checkout -b bump-version/$RELEASE_VERSION main
python3 ./CircleciScripts/bump_sdk_version.py "$(pwd)" "$RELEASE_VERSION"
git config user.name aws-amplify-ops
git config user.email [email protected]
git add -A
git commit -am "[bump version $RELEASE_VERSION]"
git push origin HEAD
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ jobs:

- name: Post release xcframeworks
run: |
git config user.name aws-amplify-ops
git config user.email [email protected]
PAT=$(aws secretsmanager get-secret-value \
--secret-id "${{ secrets.SPM_DEPLOY_SECRET_ARN }}" \
| jq ".SecretString | fromjson | .Credential" | tr -d '"')
Expand Down Expand Up @@ -314,6 +316,8 @@ jobs:

- name: Make version bump commit
run: |
git config user.name aws-amplify-ops
git config user.email [email protected]
git add version
git commit -m "bump version ${RELEASE_VERSION}"
git push origin HEAD:bump_sdk_version
Expand Down Expand Up @@ -357,6 +361,8 @@ jobs:
- name: Checkin documents
working-directory: ${{ github.workspace }}/gh-pages
run: |
git config user.name aws-amplify-ops
git config user.email [email protected]
for dirPath in docs/reference/* ; do
sdkName=$( basename "$dirPath" )
git add "$dirPath" && git commit -m "Update API documentation for ${sdkName} ${RELEASE_VERSION}"
Expand Down

0 comments on commit c81f187

Please sign in to comment.