File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -108,6 +108,14 @@ tasks:
108108 Please check out: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token#creating-a-personal-access-token-classic
109109 Then, run `gh auth login` or set the GITHUB_TOKEN environment variable with your personal access token.
110110
111+ pull-request :
112+ aliases :
113+ - pr
114+ deps :
115+ - gh-cli
116+ cmds :
117+ - ./bin/create-pull-request.sh
118+
111119 release :
112120 deps :
113121 - gh-cli
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ branch_name=$( git branch --show-current)
4+ extracted_part=$( echo " $branch_name " | cut -d ' -' -f 3-)
5+ extracted_part_without_dashes=$( echo " $extracted_part " | tr ' -' ' ' )
6+
7+ gh pr create --base develop --head " $branch_name " --title " $extracted_part_without_dashes " --body " $extracted_part_without_dashes "
You can’t perform that action at this time.
0 commit comments