Skip to content

Commit

Permalink
Update createGuide.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hadar-co authored Nov 11, 2024
1 parent 6bb1a4c commit a5ad7a8
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/createGuide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a5ad7a8

Please sign in to comment.