release-notes in postupgrade templates #20451
Unanswered
JensAc
asked this question in
Request Help
Replies: 1 comment 9 replies
-
@viceice is it possible that the notes aren't fetched yet due to the "lazy" fetching which would wait until the ensurePr function? |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How are you running Renovate?
Self-hosted
If you're self-hosting Renovate, tell us what version of Renovate you run.
34.141.0
If you're self-hosting Renovate, select which platform you are using.
github.com
If you're self-hosting Renovate, tell us what version of the platform you run.
GitHub
Was this something which used to work for you, and then stopped?
I never saw this working
Wanted end result.
Hi there 👋 ,
I want to append the release notes which are included in the PR to an existing file in order to keep track of all changelogs.
What you tried so far.
I have prepared a minimal working example here and the open PR contains release notes. I have
in my renovate config and would expect that the release notes are provided to my scrip as the
{{{body}}}
argument, as explained in the renovate documentation. However, as you can see in the PR, there are no release notes inrelase-notes/next.md
and renovate calls the postUgradetask like so:which obviously misses the release notes. Is this behavior intended? Am I doing something wrong or is this a bug? I would really appreciate any kind of help.
Relevant debug logs
Logs
Beta Was this translation helpful? Give feedback.
All reactions