Skip to content

Commit

Permalink
Merge pull request #40 from JarvusInnovations/releases/github-actions…
Browse files Browse the repository at this point in the history
…/release-prepare/r6

fix(github-actions/release-prepare): support customized template
  • Loading branch information
themightychris authored Jul 15, 2024
2 parents 8dbab9a + f9bed83 commit d0bee7b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
12 changes: 5 additions & 7 deletions github-actions/release-prepare/pull-request.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,11 @@ fi

# prepare PR text
pr_title="Release: ${latest_release_bumped}"
pr_body="$(cat <<EOF
## Improvements
## Technical
EOF
)"
if ! [ -f .github/release-pr-template.md ]; then
pr_body="$(cat ".github/release-pr-template.md")"
else
pr_body="$(cat "${GITHUB_ACTION_PATH}/release-pr-template.md")"
fi


# create or update PR
Expand Down
6 changes: 6 additions & 0 deletions github-actions/release-prepare/release-pr-template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Improvements



## Technical

0 comments on commit d0bee7b

Please sign in to comment.