From a5da0624f7a014e7ee57fc2850d9125855ee3dfa Mon Sep 17 00:00:00 2001 From: Jan Buchar Date: Thu, 5 Dec 2024 14:07:58 +0000 Subject: [PATCH] ci: Prepend to changelog on (pre)release (#784) --- .github/workflows/pre_release.yaml | 1 + .github/workflows/release.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/pre_release.yaml b/.github/workflows/pre_release.yaml index 44c2e9cc85..44411e098f 100644 --- a/.github/workflows/pre_release.yaml +++ b/.github/workflows/pre_release.yaml @@ -27,6 +27,7 @@ jobs: name: Prepare release metadata with: release_type: prerelease + existing_changelog_path: CHANGELOG.md # If github.ref points to a [ci skip] commit, this workflow won't run. # Otherwise, these checks will be launched from the `run_code_checks` workflow. diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 463955f12c..20a3851b83 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -41,6 +41,7 @@ jobs: with: release_type: ${{ inputs.release_type }} custom_version: ${{ inputs.custom_version }} + existing_changelog_path: CHANGELOG.md # If github.ref points to a [ci skip] commit, we assume that it was added by the pre_release workflow, # which doesn't push the commit if code checks don't pass.