fix(release): use correct template variable in pr_body#178
Merged
zeitlinger merged 1 commit intomainfrom Apr 16, 2026
Merged
Conversation
`{{ changelog }}` is only valid in `git_release_body`.
For `pr_body` the correct variable is `release.changelog` inside a
releases loop.
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the release-plz PR body template to use the correct template context so the release PR job no longer fails during rendering.
Changes:
- Replace invalid
{{ changelog }}usage inpr_bodywith a loop overreleasesand{{ release.changelog }}.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
martincostello
approved these changes
Apr 16, 2026
Merged
zeitlinger
added a commit
that referenced
this pull request
Apr 16, 2026
### Added - *(release)* migrate from release-please to release-plz ([#171](#171)) ### Fixed - *(release)* use correct template variable in pr_body ([#178](#178)) - *(release)* suppress component prefix in release-please tags ([#166](#166)) - *(release)* add workflow_dispatch to retrigger for existing tags ([#167](#167)) ### Other - move icon to assets/ to fix release-plz ([#177](#177)) - *(deps)* update dependency npm:renovate to v43.102.11 [security] ([#174](#174)) - *(deps)* update rust crate similar to v3.1.0 ([#173](#173)) - *(deps)* update dependency github:mvdan/sh to v3.13.1 ([#163](#163)) > [!IMPORTANT] > Close and reopen this PR to trigger CI checks. --------- Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
This was referenced Apr 16, 2026
Closed
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
{{ changelog }}is only valid ingit_release_body, notpr_bodyVariable 'changelog' not found in context while rendering 'pr_body'(run)release.changeloginside a releases loopTest plan