[PR #5134] [MERGED] fix: ensure correct PR number is used for release notes file #5775

Closed
opened 2026-02-28 21:18:23 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/5134
Author: @OlivierKamers
Created: 6/10/2025
Status: Merged
Merged: 6/10/2025
Merged by: @matt-fidd

Base: masterHead: oli/fix-release-notes-pr-number


📝 Commits (1)

  • 2894a26 fix: ensure correct PR number is used for release notes file

📊 Changes

2 files changed (+12 additions, -6 deletions)

View changed files

📝 bin/release-note-generator.ts (+6 -6)
upcoming-release-notes/5134.md (+6 -0)

📄 Description

I usually create a draft PR before I generate the release notes and I found that the prompt value for PR number is not used for determining the file path, as it only uses the initial value. For me this didn't work because I'm not authenticated through the Github CLI so it will always use the value from getNextPrNumber, which is my draft PR number + 1. This change fixes it by using the inferred number as initial value for the command line prompt, and reading the actual value to be used for the file path.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/5134 **Author:** [@OlivierKamers](https://github.com/OlivierKamers) **Created:** 6/10/2025 **Status:** ✅ Merged **Merged:** 6/10/2025 **Merged by:** [@matt-fidd](https://github.com/matt-fidd) **Base:** `master` ← **Head:** `oli/fix-release-notes-pr-number` --- ### 📝 Commits (1) - [`2894a26`](https://github.com/actualbudget/actual/commit/2894a26c31c1412077547c1f0a994d044fd3c33f) fix: ensure correct PR number is used for release notes file ### 📊 Changes **2 files changed** (+12 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `bin/release-note-generator.ts` (+6 -6) ➕ `upcoming-release-notes/5134.md` (+6 -0) </details> ### 📄 Description I usually create a draft PR before I generate the release notes and I found that the prompt value for PR number is not used for determining the file path, as it only uses the initial value. For me this didn't work because I'm not authenticated through the Github CLI so it will always use the value from `getNextPrNumber`, which is my draft PR number + 1. This change fixes it by using the inferred number as initial value for the command line prompt, and reading the actual value to be used for the file path. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-02-28 21:18:23 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#5775