From d845f31a92402b4c83b20cdf817dfd805ba08354 Mon Sep 17 00:00:00 2001 From: Rukh-Khan Date: Sun, 5 Jan 2025 19:52:20 +0530 Subject: [PATCH] #2970:autodoc-generate-talawa-Admin --- .github/workflows/pull-request.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 3121820269..1012f9c441 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -504,6 +504,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 # Required for getting full git history + ref: ${{ github.event.pull_request.head.ref }} - name: Setup Node.js uses: actions/setup-node@v4 @@ -581,7 +582,7 @@ jobs: git commit -m "docs: update auto-generated documentation [skip ci]" # Push changes - git push + git push origin HEAD:${{ github.event.pull_request.head.ref }} else echo "No changes to commit" fi