From ddea7087489c519ebe3540e2303bca2d829b2f84 Mon Sep 17 00:00:00 2001 From: thefourCraft Date: Tue, 12 Sep 2023 11:20:40 +0300 Subject: [PATCH] Update (#32) --- .github/workflows/create_docusaurus_page.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create_docusaurus_page.yml b/.github/workflows/create_docusaurus_page.yml index fb05b0f..30c8c51 100644 --- a/.github/workflows/create_docusaurus_page.yml +++ b/.github/workflows/create_docusaurus_page.yml @@ -69,9 +69,11 @@ jobs: - name: Add, Commit and Push Changes run: | + ISSUE_NUMBER=${{ github.event.issue.number }} + BRANCH_NAME="new-page-${ISSUE_NUMBER}" git add . git commit -m "Create new Docusaurus page from issue $ISSUE_NUMBER" - git push + git push -u origin $BRANCH_NAME - name: Create Pull Request uses: peter-evans/create-pull-request@v5