From 78da36e8cde50135ecc345d41503b6f37a8f20ea Mon Sep 17 00:00:00 2001 From: Lucas Oliveira <62335616+lucaseduoli@users.noreply.github.com> Date: Fri, 12 Jul 2024 19:50:13 -0300 Subject: [PATCH] fix: git workflow commands to push to repository (#2679) --- .github/workflows/fetch_docs_notion.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/fetch_docs_notion.yml b/.github/workflows/fetch_docs_notion.yml index 0c9ae3b44..31e7f85ed 100644 --- a/.github/workflows/fetch_docs_notion.yml +++ b/.github/workflows/fetch_docs_notion.yml @@ -55,17 +55,11 @@ jobs: env: NOTION_TOKEN: ${{ secrets.NOTION_TOKEN }} NOTION_DOCS_ROOT_PAGE_ID: ${{ secrets.NOTION_DOCS_ROOT_PAGE_ID }} - - name: Commit changes run: | git add . git commit -m "Update docs from Notion" - - - name: Push changes - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - git push --set-upstream origin $(git rev-parse --abbrev-ref HEAD) + git push - name: Create Pull Request id: create_pr