リリースPRがないときにrelease-edit-with-push.ymlがfailして見栄えが悪いのを修正 (#14160)
This commit is contained in:
parent
679318541a
commit
f8ac3fe343
3
.github/workflows/release-edit-with-push.yml
vendored
3
.github/workflows/release-edit-with-push.yml
vendored
@ -28,16 +28,19 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
STABLE_BRANCH: ${{ vars.STABLE_BRANCH }}
|
STABLE_BRANCH: ${{ vars.STABLE_BRANCH }}
|
||||||
- name: Get target version
|
- name: Get target version
|
||||||
|
if: steps.get_pr.outputs.pr_number != ''
|
||||||
uses: misskey-dev/release-manager-actions/.github/actions/get-target-version@v2
|
uses: misskey-dev/release-manager-actions/.github/actions/get-target-version@v2
|
||||||
id: v
|
id: v
|
||||||
# CHANGELOG.mdの内容を取得
|
# CHANGELOG.mdの内容を取得
|
||||||
- name: Get changelog
|
- name: Get changelog
|
||||||
|
if: steps.get_pr.outputs.pr_number != ''
|
||||||
uses: misskey-dev/release-manager-actions/.github/actions/get-changelog@v2
|
uses: misskey-dev/release-manager-actions/.github/actions/get-changelog@v2
|
||||||
with:
|
with:
|
||||||
version: ${{ steps.v.outputs.target_version }}
|
version: ${{ steps.v.outputs.target_version }}
|
||||||
id: changelog
|
id: changelog
|
||||||
# PRのnotesを更新
|
# PRのnotesを更新
|
||||||
- name: Update PR
|
- name: Update PR
|
||||||
|
if: steps.get_pr.outputs.pr_number != ''
|
||||||
run: |
|
run: |
|
||||||
gh pr edit "$PR_NUMBER" --body "$CHANGELOG"
|
gh pr edit "$PR_NUMBER" --body "$CHANGELOG"
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user