Skip to content

Commit 5b40a16

Browse files
Merge pull request #780 from godaddy-wordpress/chore/use-release-pr-template-for-release-prs
Use the release.md PR template when creating release PRs with the workflow
2 parents 802ec10 + 588d9a5 commit 5b40a16

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/PULL_REQUEST_TEMPLATE/release.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ _List of related issues, pull requests, external pages, etc_
2121

2222
## Before merge
2323

24+
- [ ] I have updated `woocommerce/changelog.txt`
2425
- [ ] I have confirmed the final story is merged

.github/workflows/prep-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
7979
- name: Create pull request
8080
run: |
81-
gh pr create -B "${BASE_BRANCH}" -H release/"${NEW_VERSION}" --title "Release v${NEW_VERSION}" --body "Release v${NEW_VERSION}" --draft
81+
gh pr create -B "${BASE_BRANCH}" -H release/"${NEW_VERSION}" --title "Release v${NEW_VERSION}" --body-file ".github/PULL_REQUEST_TEMPLATE/release.md" --draft
8282
env:
8383
BASE_BRANCH: ${{ github.ref_name }}
8484
GH_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)