Post release checklist as a comment on release PRs (#7307)
This commit is contained in:
@@ -101,10 +101,18 @@ jobs:
|
|||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
run: |
|
run: |
|
||||||
gh pr create \
|
PR_URL=$(gh pr create \
|
||||||
-B "$TARGET_BRANCH" \
|
-B "$TARGET_BRANCH" \
|
||||||
-H "${{ env.branch_name }}" \
|
-H "${{ env.branch_name }}" \
|
||||||
--title "chore(release): release version ${{ env.version }} ($BUMP_TYPE)" \
|
--title "chore(release): release version ${{ env.version }} ($BUMP_TYPE)" \
|
||||||
--body-file pr_body.txt
|
--body-file pr_body.txt)
|
||||||
|
echo "pr_url=$PR_URL" >> $GITHUB_ENV
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Post release checklist comment
|
||||||
|
run: |
|
||||||
|
sed 's/{{VERSION}}/${{ env.version }}/g' RELEASE_CHECKLIST.md > checklist_comment.md
|
||||||
|
gh pr comment "${{ env.pr_url }}" --body-file checklist_comment.md
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# goose Release Manual Testing Checklist
|
# goose Release Manual Testing Checklist
|
||||||
|
|
||||||
## Version: _____
|
## Version: {{VERSION}}
|
||||||
|
|
||||||
Make a copy of this document for each version and check off as steps are verified.
|
Make a copy of this document for each version and check off as steps are verified.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user