[PR #7107] [MERGED] [AI] Skip AI-generated release notes for release/ branch PRs #25555

Closed
opened 2026-04-16 18:41:46 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/7107
Author: @Copilot
Created: 3/2/2026
Status: Merged
Merged: 3/4/2026
Merged by: @jfdoming

Base: masterHead: copilot/fix-ai-release-notes-gating


📝 Commits (10+)

  • 1fe7392 Initial plan
  • ef78b86 [AI] Make AI-generated release notes not run on release/ branches
  • 8cd4391 [AI] Use explicit startsWith(github.head_ref) if conditions instead of JS changes
  • 223a0b0 Delete extra condition
  • f47a134 Add release notes for PR #7107
  • cbc206c [autofix.ci] apply automated fixes
  • 7c59afa FIx note
  • 2ad9fe4 Add head branch information to PR details
  • 0809403 Refactor conditions for release notes generation
  • 444f8c7 Sec

📊 Changes

3 files changed (+13 additions, -14 deletions)

View changed files

📝 .github/actions/ai-generated-release-notes/pr-details.js (+2 -0)
📝 .github/workflows/ai-generated-release-notes.yml (+5 -14)
upcoming-release-notes/7107.md (+6 -0)

📄 Description

ai-generated-release-notes.yml was triggering on PRs from release/ branches, unlike release-notes.yml which already gates on startsWith(github.head_ref, 'release/'). This PR excludes HEAD refs matching that format. Note that we have to explicitly parse the HEAD ref from the GitHub API because this workflow doesn't trigger on push events but rather on comments.


🔄 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/7107 **Author:** [@Copilot](https://github.com/apps/copilot-swe-agent) **Created:** 3/2/2026 **Status:** ✅ Merged **Merged:** 3/4/2026 **Merged by:** [@jfdoming](https://github.com/jfdoming) **Base:** `master` ← **Head:** `copilot/fix-ai-release-notes-gating` --- ### 📝 Commits (10+) - [`1fe7392`](https://github.com/actualbudget/actual/commit/1fe7392382bf26c545d9220ad1925b80a8b52392) Initial plan - [`ef78b86`](https://github.com/actualbudget/actual/commit/ef78b8608663ea10657bdce34c2ef79b06c29b69) [AI] Make AI-generated release notes not run on release/ branches - [`8cd4391`](https://github.com/actualbudget/actual/commit/8cd43913f09510985c78f4e668d3f1da5785ad2d) [AI] Use explicit startsWith(github.head_ref) if conditions instead of JS changes - [`223a0b0`](https://github.com/actualbudget/actual/commit/223a0b0850c0be501886e5a7639f7601622346f1) Delete extra condition - [`f47a134`](https://github.com/actualbudget/actual/commit/f47a13496ca66080954ad62947c9dda952a4b1c9) Add release notes for PR #7107 - [`cbc206c`](https://github.com/actualbudget/actual/commit/cbc206c26b40d65f0af0b7d3c371fb5c421bb25f) [autofix.ci] apply automated fixes - [`7c59afa`](https://github.com/actualbudget/actual/commit/7c59afac81f318dfb3aab240156b08675f3d249d) FIx note - [`2ad9fe4`](https://github.com/actualbudget/actual/commit/2ad9fe4beba1100462c8894ee4961643d5f3f85b) Add head branch information to PR details - [`0809403`](https://github.com/actualbudget/actual/commit/0809403ee2edb370f6f855e26b6d2ca7b6833335) Refactor conditions for release notes generation - [`444f8c7`](https://github.com/actualbudget/actual/commit/444f8c77d6b72bfddbfd1dc737ed22ae0f2e0dd7) Sec ### 📊 Changes **3 files changed** (+13 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `.github/actions/ai-generated-release-notes/pr-details.js` (+2 -0) 📝 `.github/workflows/ai-generated-release-notes.yml` (+5 -14) ➕ `upcoming-release-notes/7107.md` (+6 -0) </details> ### 📄 Description `ai-generated-release-notes.yml` was triggering on PRs from `release/` branches, unlike `release-notes.yml` which already gates on `startsWith(github.head_ref, 'release/')`. This PR excludes HEAD refs matching that format. Note that we have to explicitly parse the HEAD ref from the GitHub API because this workflow doesn't trigger on push events but rather on comments. --- <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-04-16 18:41:46 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#25555