From 319679fd655fa2131206e91d0d6e879ae71ebfb0 Mon Sep 17 00:00:00 2001
From: Jed Fox <git@jedfox.com>
Date: Tue, 14 Mar 2023 14:18:14 -0400
Subject: [PATCH] Add support for automatically generating release notes (#746)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

See https://github.com/actualbudget/docs/pull/129 for more details. If
this is accepted, I’ll fill in release notes for the PRs that have been
submitted since the last release and submit a corresponding PR to
`actual-server`.

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
---
 .github/PULL_REQUEST_TEMPLATE.md             |  1 +
 .github/workflows/check-release-notes.yml    | 14 ++++++++++++++
 .github/workflows/generate-release-notes.yml | 17 +++++++++++++++++
 upcoming-release-notes/746.md                |  6 ++++++
 upcoming-release-notes/750.md                |  6 ++++++
 upcoming-release-notes/754.md                |  6 ++++++
 upcoming-release-notes/README.md             |  1 +
 7 files changed, 51 insertions(+)
 create mode 100644 .github/PULL_REQUEST_TEMPLATE.md
 create mode 100644 .github/workflows/check-release-notes.yml
 create mode 100644 .github/workflows/generate-release-notes.yml
 create mode 100644 upcoming-release-notes/746.md
 create mode 100644 upcoming-release-notes/750.md
 create mode 100644 upcoming-release-notes/754.md
 create mode 100644 upcoming-release-notes/README.md

diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
new file mode 100644
index 000000000..7aafbed25
--- /dev/null
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -0,0 +1 @@
+<!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes -->
diff --git a/.github/workflows/check-release-notes.yml b/.github/workflows/check-release-notes.yml
new file mode 100644
index 000000000..7d5980d7d
--- /dev/null
+++ b/.github/workflows/check-release-notes.yml
@@ -0,0 +1,14 @@
+name: Check release notes
+
+on:
+  pull_request:
+    branches: '*'
+
+jobs:
+  check:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v3
+      - name: Check release notes
+        uses: actualbudget/actions/release-notes/check@main
diff --git a/.github/workflows/generate-release-notes.yml b/.github/workflows/generate-release-notes.yml
new file mode 100644
index 000000000..fcf343330
--- /dev/null
+++ b/.github/workflows/generate-release-notes.yml
@@ -0,0 +1,17 @@
+name: Generate Release Notes
+
+on:
+  push:
+    branches:
+      - release/*
+
+jobs:
+  generate:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v3
+      - name: Generate release notes
+        uses: actualbudget/actions/release-notes/generate@main
+        with:
+          github_token: ${{ secrets.GITHUB_TOKEN }}
diff --git a/upcoming-release-notes/746.md b/upcoming-release-notes/746.md
new file mode 100644
index 000000000..fc10ff342
--- /dev/null
+++ b/upcoming-release-notes/746.md
@@ -0,0 +1,6 @@
+---
+category: Maintenance
+authors: [j-f1]
+---
+
+Add support for automatically generating release notes
diff --git a/upcoming-release-notes/750.md b/upcoming-release-notes/750.md
new file mode 100644
index 000000000..34cd936bc
--- /dev/null
+++ b/upcoming-release-notes/750.md
@@ -0,0 +1,6 @@
+---
+category: Maintenance
+authors: [j-f1]
+---
+
+Reduce JavaScript bundle size by 1MB
diff --git a/upcoming-release-notes/754.md b/upcoming-release-notes/754.md
new file mode 100644
index 000000000..8374090ab
--- /dev/null
+++ b/upcoming-release-notes/754.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [waseem-h]
+---
+
+(Nordigen) Use bookingDate as fallback during sync
diff --git a/upcoming-release-notes/README.md b/upcoming-release-notes/README.md
new file mode 100644
index 000000000..54933062b
--- /dev/null
+++ b/upcoming-release-notes/README.md
@@ -0,0 +1 @@
+See the [Writing Good Release Notes](https://github.com/actualbudget/docs#writing-good-release-notes) section of the README for the documentation repo for more information on how to create a release notes file here.
-- 
GitLab