From a5ad7a867fdca891ba85154308cb1bd29f2fd8ef Mon Sep 17 00:00:00 2001 From: hadar-co Date: Mon, 11 Nov 2024 13:51:56 +0200 Subject: [PATCH] Update createGuide.yml --- .github/workflows/createGuide.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/createGuide.yml b/.github/workflows/createGuide.yml index f0fe81a..153f221 100644 --- a/.github/workflows/createGuide.yml +++ b/.github/workflows/createGuide.yml @@ -101,16 +101,15 @@ jobs: - name: Create and Push Branch with Guide run: | - git pull - git checkout -b generate-guide-branch + git checkout -b generate-guide git add guide.md - git commit -m "Add generated guide: ${{ github.event.inputs.title }}" - git push origin generate-guide-branch + git commit -m "Add generated guide: ${{ github.event.inputs.title }}" . + git push origin generate-guide - name: Create Pull Request uses: peter-evans/create-pull-request@v5 with: - branch: generate-guide-branch + branch: generate-guide title: "Add Generated Guide: ${{ github.event.inputs.title }}" body: "This PR adds a new guide generated based on the provided title and description." base: main