Commit 94e0db120a for woocommerce
commit 94e0db120ab8ca13fd5d2f1c608ab141a1238c47
Author: Jorge A. Torres <jorge.torres@automattic.com>
Date: Mon Feb 9 10:50:48 2026 +0000
`release-compile-changelog.yml`: do not show empty changelog warning when appending (#63129)
* Do not show warning about empty changelog when appending to existing changelog
* Move input in "compile changelog" workflow
diff --git a/.github/workflows/release-compile-changelog.yml b/.github/workflows/release-compile-changelog.yml
index 2c99ffe828..8fa55ef9da 100644
--- a/.github/workflows/release-compile-changelog.yml
+++ b/.github/workflows/release-compile-changelog.yml
@@ -5,6 +5,10 @@ on:
version:
description: 'Version (in X.Y or X.Y.Z format). Branch "release/{x.y.z}" or "release/{x.y}" should already exist.'
required: true
+ release_date:
+ description: 'Release date in YYYY-MM-DD format. If not provided, the current date will be used.'
+ required: false
+ default: ''
append_changelog:
description: 'Append or replace entries in changelog?'
type: choice
@@ -14,10 +18,6 @@ on:
- append
required: false
default: auto
- release_date:
- description: 'Release date in YYYY-MM-DD format. If not provided, the current date will be used.'
- required: false
- default: ''
concurrency:
group: release-compile-changelog-${{ inputs.version }}
diff --git a/tools/monorepo-utils/src/code-freeze/commands/changelog/lib/index.ts b/tools/monorepo-utils/src/code-freeze/commands/changelog/lib/index.ts
index e6fdd5b42f..22be074d8f 100644
--- a/tools/monorepo-utils/src/code-freeze/commands/changelog/lib/index.ts
+++ b/tools/monorepo-utils/src/code-freeze/commands/changelog/lib/index.ts
@@ -273,9 +273,10 @@ export const updateReleaseBranchChangelogs = async (
};
}
Logger.notice( `Creating PR for ${ branch }` );
- const warningMessage = noEntriesWritten
- ? '> [!CAUTION]\n> No entries were written to the changelog. You will be required to manually add a changelog entry before releasing.\n\n'
- : '';
+ const warningMessage =
+ noEntriesWritten && ! options.appendChangelog
+ ? '> [!CAUTION]\n> No entries were written to the changelog. You will be required to manually add a changelog entry before releasing.\n\n'
+ : '';
const pullRequest = await createPullRequest( {
owner,
name,