Skip to content

Commit

Permalink
Fix command
Browse files Browse the repository at this point in the history
  • Loading branch information
hibare committed Oct 22, 2023
1 parent 20fc50d commit 6c2f9d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-creator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ jobs:
DEFAULT_BRANCH=$(curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" "https://api.github.com/repos/${{ github.repository }}/branches/default" | jq -r .name)
# Create a PR from "dev" to the default branch
PR_URL=$(gh pr create --base "$DEFAULT_BRANCH" --head "dev" --title "Auto-generated PR" --json html_url --jq .html_url)
PR_URL=$(gh pr create --base master --head "dev" --title "Auto-generated PR" -t "Auto-generated PR" -b "Auto-generated PR")
echo "Created PR: $PR_URL"

0 comments on commit 6c2f9d6

Please sign in to comment.