リリースPRがないときにrelease-edit-with-push.ymlがfailして見栄えが悪いのを修正 (#14160)

This commit is contained in:
tamaina 2024-07-11 16:39:06 +09:00 committed by GitHub
parent 679318541a
commit f8ac3fe343
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,16 +28,19 @@ jobs:
env:
STABLE_BRANCH: ${{ vars.STABLE_BRANCH }}
- name: Get target version
if: steps.get_pr.outputs.pr_number != ''
uses: misskey-dev/release-manager-actions/.github/actions/get-target-version@v2
id: v
# CHANGELOG.mdの内容を取得
- name: Get changelog
if: steps.get_pr.outputs.pr_number != ''
uses: misskey-dev/release-manager-actions/.github/actions/get-changelog@v2
with:
version: ${{ steps.v.outputs.target_version }}
id: changelog
# PRのnotesを更新
- name: Update PR
if: steps.get_pr.outputs.pr_number != ''
run: |
gh pr edit "$PR_NUMBER" --body "$CHANGELOG"
env: