Skip to content

Harden release changelog workflow#669

Merged
akirk merged 3 commits into
mainfrom
fix/release-changelog-pr-association
May 21, 2026
Merged

Harden release changelog workflow#669
akirk merged 3 commits into
mainfrom
fix/release-changelog-pr-association

Conversation

@akirk

@akirk akirk commented May 21, 2026

Copy link
Copy Markdown
Owner

Fixes #

Changes

  • Require PR-body changelog details instead of accepting arbitrary unreleased changelog files.
  • Keep release changelog PR association mandatory while making branch-named legacy entries resolvable through GitHub's commit-to-PR API.
  • Add dry-run support to release prep and local release scripts.

Testing instructions

  • composer check-cs
  • bash -n bin/changelog-write.sh
  • bash -n bin/version-bump.sh
  • bash -n bin/changelog-add.sh
  • ruby -e 'require "yaml"; %w[.github/workflows/changelog.yml .github/workflows/release-prep.yml].each { |f| YAML.load_file(f); puts "#{f} parsed" }'
  • git diff --check

Changelog entry

  • Automatically create a changelog entry from the details below.
Changelog Entry Details

Type

  • Added - for new features
  • Changed - for changes in existing functionality
  • Fixed - for any bug fixes
  • Removed - for now removed features

Message

Require changelog entries to come from PR body details and add release-prep dry-run validation.

@github-actions

github-actions Bot commented May 21, 2026

Copy link
Copy Markdown
Contributor

Test this PR in WordPress Playground

You can test this pull request directly in WordPress Playground:

Launch WordPress Playground

This will install and activate the plugin with the changes from this PR.

@akirk akirk merged commit e2cd7cd into main May 21, 2026
26 checks passed
@akirk akirk deleted the fix/release-changelog-pr-association branch May 21, 2026 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant