From 6c2f9d6ea56206eae7404a25c0344a9b00fffcab Mon Sep 17 00:00:00 2001 From: Shubham Hibare Date: Sun, 22 Oct 2023 22:19:23 +0530 Subject: [PATCH] Fix command --- .github/workflows/pr-creator.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-creator.yml b/.github/workflows/pr-creator.yml index 138514e..e217c26 100644 --- a/.github/workflows/pr-creator.yml +++ b/.github/workflows/pr-creator.yml @@ -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"