diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index dbdcdb2f1a..f1c609e29a 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -555,22 +555,22 @@ jobs: mkdir -p docs/docs/developer-guide/reference if [ ! -f docs/docs/user-guide/intro.md ]; then - echo "# User Guide\n\nThis section contains the user guide for Talawa Admin." > docs/docs/user-guide/intro.md + printf "# User Guide\n\nThis section contains the user guide for Talawa Admin.\n" > docs/docs/user-guide/intro.md fi if [ ! -f docs/docs/developer-guide/intro.md ]; then - echo "# Developer Guide\n\nThis section contains the developer guide for Talawa Admin." > docs/docs/developer-guide/intro.md + printf "# Developer Guide\n\nThis section contains the developer guide for Talawa Admin.\n" > docs/docs/developer-guide/intro.md fi if [ ! -f docs/docs/developer-guide/reference/README.md ]; then - echo "# API Reference\n\nThis section contains the auto-generated API documentation for Talawa Admin." > docs/docs/developer-guide/reference/README.md + printf "# API Reference\n\nThis section contains the auto-generated API documentation for Talawa Admin.\n" > docs/docs/developer-guide/reference/README.md fi # Step 6: Set up Git configuration - name: Setup Git Config run: | - git config user.name "github-actions[bot]" - git config user.email "41898282+github-actions[bot]@users.noreply.github.com" + git config --global user.email "actions@github.com" + git config --global user.name "gh-actions" # Step 7: Check and Commit Changes - name: Commit Documentation Changes