summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authortamaina <tamaina@hotmail.co.jp>2024-07-11 16:39:06 +0900
committerGitHub <noreply@github.com>2024-07-11 16:39:06 +0900
commitf8ac3fe343a25e3d58c93650826f7377a029c3cd (patch)
treede45d5c9c0ea686d7d73727668950a28d0db95f1 /.github
parentImprove background color specification (#14176) (diff)
downloadsharkey-f8ac3fe343a25e3d58c93650826f7377a029c3cd.tar.gz
sharkey-f8ac3fe343a25e3d58c93650826f7377a029c3cd.tar.bz2
sharkey-f8ac3fe343a25e3d58c93650826f7377a029c3cd.zip
リリースPRがないときにrelease-edit-with-push.ymlがfailして見栄えが悪いのを修正 (#14160)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release-edit-with-push.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/release-edit-with-push.yml b/.github/workflows/release-edit-with-push.yml
index e1bcb5a665..57657a4ba7 100644
--- a/.github/workflows/release-edit-with-push.yml
+++ b/.github/workflows/release-edit-with-push.yml
@@ -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: