From d18124234d317dd7be6a3949bd838a8d18483a3f Mon Sep 17 00:00:00 2001 From: Rukh-Khan Date: Tue, 7 Jan 2025 22:11:36 +0530 Subject: [PATCH] #2970: autoGen-talawa-admin-docs-debugging --- .github/workflows/pull-request.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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