Skip to content

A local-first personal finance app

Migrate to combined release notes action from main repo (#208)

Jed Foxd1ff06840edc
diff --git a/.github/workflows/check-release-notes.yml b/.github/workflows/check-release-notes.yml
deleted file mode 100644
index 12b889dfd1..0000000000
--- a/.github/workflows/check-release-notes.yml
+++ /dev/null
@@ -1,16 +0,0 @@
-name: Check release notes
-
-on:
- pull_request:
- branches:
- - '*'
- - '!release/*'
-
-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
deleted file mode 100644
index fcf3433302..0000000000
--- a/.github/workflows/generate-release-notes.yml
+++ /dev/null
@@ -1,17 +0,0 @@
-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/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml
new file mode 100644
index 0000000000..c8e6b9896c
--- /dev/null
+++ b/.github/workflows/release-notes.yml
@@ -0,0 +1,18 @@
+name: Release notes
+
+on:
+ pull_request:
+ branches: '*'
+
+jobs:
+ release-notes:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+ - name: Check release notes
+ if: startsWith(github.head_ref, 'release/') == false
+ uses: actualbudget/actions/release-notes/check@main
+ - name: Generate release notes
+ if: startsWith(github.head_ref, 'release/') == true
+ uses: actualbudget/actions/release-notes/generate@main
diff --git a/upcoming-release-notes/208.md b/upcoming-release-notes/208.md
new file mode 100644
index 0000000000..500cc88894
--- /dev/null
+++ b/upcoming-release-notes/208.md
@@ -0,0 +1,6 @@
+---
+category: Maintenance
+authors: [j-f1]
+---
+
+Migrate to the combined release notes action from the main repo