Skip to content

Commit

Permalink
updated github_pull_request_create.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Jun 26, 2024
1 parent 78a75ff commit 77fa710
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions github/github_pull_request_create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ The BASE branch is the branch you want to merge INTO, eg. 'master' or 'main'
If \$GITHUB_PULL_REQUEST_TITLE or \$GITHUB_PULL_REQUEST_BODY environment variables are set, those values will be used to generate the pull request
If \$GITHUB_PULL_REQUEST_BODY is not set, but .github/pull_request_template.md is present at the top of the current checkout repo, will use that for the body. If the template body contains Jira ticket number token templates such as AA-XXXXX or AA-NNNNN and the current branch is prefixed with a matching alpha-number token, then those tokens will be replaced with the real Jira number from the branch
To raise PRs across forks do:
${0##*/} <upstream_repo> <your_forked_owner>:<your_forked_repo>:<your_feature_branch> <upstream_repo_base_trunk_branch_to_merge_to>
Requires GitHub CLI to be installed and configured
Expand Down

0 comments on commit 77fa710

Please sign in to comment.