Skip to content

ci: take release notes from the repository instead of the workflow - #52

Merged
krotname merged 1 commit into
mainfrom
fix/release-notes-from-repo
Sep 6, 2026
Merged

ci: take release notes from the repository instead of the workflow#52
krotname merged 1 commit into
mainfrom
fix/release-notes-from-repo

Conversation

@krotname

@krotname krotname commented Sep 6, 2026

Copy link
Copy Markdown
Owner

Same defect as krotname/NppMarkdownTableEditor#33, in this repository's release.yml: the "What's Changed" and "Validation" prose is hardcoded in a heredoc, so every release republishes 11.1.0's notes no matter what changed. The twin repository actually shipped stale notes with its 11.2.0 release; here the 11.2.0 notes were written by hand at publish time, so nothing wrong reached the public release.

The prose now lives in docs/release-notes.md, to be rewritten in the same commit that bumps VERSION. The release job appends everything from that file's first ## heading onward to the generated Builds / Downloads block, and fails when the file is missing or empty. The job gains a sparse checkout of just that one file - it checked out nothing before.

Separate, not fixed here

The build job requires runs-on: [self-hosted, windows, adler-lenovo], and this repository has no registered self-hosted runner, so the release workflow's build job sits queued forever - that is why v11.2.0 had to be built and published manually from a local gradlew buildPlugin + verifyPlugin run. Deciding between registering the runner again and moving the job to windows-latest is a separate call.

The "What's Changed" and "Validation" prose was hardcoded in release.yml, so
every release republished 11.1.0's notes regardless of what actually changed.
The twin Notepad++ repository had the same defect and shipped stale notes with
its 11.2.0 release.

The prose now lives in docs/release-notes.md, rewritten in the same commit that
bumps VERSION, and the release job appends it to the generated Builds / Downloads
block. The job gains a sparse checkout of just that file - it checked out nothing
before - and fails if the file is missing or empty rather than publishing a
release without notes.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 6, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review Completed 2026-09-06T05:51:57.893361Z 1bcf2e0 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@krotname
krotname enabled auto-merge (squash) September 6, 2026 05:52
@codecov

codecov Bot commented Sep 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@krotname
krotname merged commit f586412 into main Sep 6, 2026
8 checks passed
@krotname
krotname deleted the fix/release-notes-from-repo branch September 6, 2026 05:52
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