mirror of
https://github.com/aaif-goose/goose.git
synced 2026-07-03 14:10:03 +02:00
Post release checklist as a comment on release PRs (#7307)
This commit is contained in:
@@ -101,10 +101,18 @@ jobs:
|
||||
|
||||
- name: Create Pull Request
|
||||
run: |
|
||||
gh pr create \
|
||||
PR_URL=$(gh pr create \
|
||||
-B "$TARGET_BRANCH" \
|
||||
-H "${{ env.branch_name }}" \
|
||||
--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:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# goose Release Manual Testing Checklist
|
||||
|
||||
## Version: _____
|
||||
## Version: {{VERSION}}
|
||||
|
||||
Make a copy of this document for each version and check off as steps are verified.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user