File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,11 +29,14 @@ jobs:
2929 - name : Install Dependencies & Compile
3030 run : yarn install --frozen-lockfile --ignore-engines
3131 - name : Commit Changes if needed
32+ env :
33+ BOT_EMAIL : ${{ vars.SAP_CLOUD_SDK_BOT_EMAIL }}
34+ BOT_NAME : ${{ vars.SAP_CLOUD_SDK_BOT_NAME }}
3235 run : |
3336 diff=`git diff`
3437 if [ ! -z "$diff" ]; then
35- git config --global user.email "[email protected] " 36- git config --global user.name "cloud-sdk-js "
38+ git config --global user.email "$BOT_EMAIL "
39+ git config --global user.name "$BOT_NAME "
3740 git commit -m "Regenerate check-public-api action" -a
3841 git push
3942 fi
Original file line number Diff line number Diff line change @@ -31,11 +31,14 @@ jobs:
3131 - name : Run Lint
3232 run : yarn lint:fix
3333 - name : Commit Changes if needed
34+ env :
35+ BOT_EMAIL : ${{ vars.SAP_CLOUD_SDK_BOT_EMAIL }}
36+ BOT_NAME : ${{ vars.SAP_CLOUD_SDK_BOT_NAME }}
3437 run : |
3538 diff=`git diff`
3639 if [ ! -z "$diff" ]; then
37- git config --global user.email "[email protected] " 38- git config --global user.name "cloud-sdk-js "
40+ git config --global user.email "$BOT_EMAIL "
41+ git config --global user.name "$BOT_NAME "
3942 git commit -m "Changes from lint:fix" -a
4043 git push
4144 fi
You can’t perform that action at this time.
0 commit comments