From afe7090922d47c6f3821852c4c7e261586bb9b3f Mon Sep 17 00:00:00 2001 From: xterao Date: Wed, 30 Apr 2025 13:30:44 +0900 Subject: [PATCH] Added a condition to output logs only when references are resolved. --- .github/workflows/release-drafter.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index ed2dd063..8a600855 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -4,13 +4,11 @@ on: push: branches: - main - pull_request: - types: [opened, reopened, synchronize] workflow_dispatch: jobs: update_release_draft: - if: ${{ !contains(github.head_ref, 'doc/changelog-update-') }} + if: ${{ !contains(github.head_ref, 'doc/changelog-update-') && startsWith(github.event.head_commit.message, 'Merge pull request') }} permissions: contents: write pull-requests: write @@ -107,3 +105,4 @@ jobs: fi git commit -am "Update Version With Release Draft - $REPLACE_VERSION" git push origin main +