diff --git a/.github/workflows/sync-cli-readmes.yml b/.github/workflows/sync-cli-readmes.yml index d7e38bb31c..8083b6d348 100644 --- a/.github/workflows/sync-cli-readmes.yml +++ b/.github/workflows/sync-cli-readmes.yml @@ -17,6 +17,11 @@ jobs: - name: Sync files run: | cp zowe-cli/README.md zowe-cli/packages/cli/README.md - git add . - git commit -m "Sync files" || true - git push + + - name: Commit then Push Changes + run: | + git config --global user.name ${{ secrets.ZOWE_ROBOT_USER }} + git config --global user.email ${{ secrets.ZOWE_ROBOT_EMAIL }} + git add "zowe-cli/README.md" "zowe-cli/packages/cli/README.md" + git commit -m "Synching cli readmes" + git push origin HEAD \ No newline at end of file