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

This commit is contained in:
Jed Fox
2023-06-01 16:07:42 -04:00
committed by GitHub
parent c2c8c1719e
commit d1ff06840e
4 changed files with 24 additions and 33 deletions

View File

@@ -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

View File

@@ -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 }}

18
.github/workflows/release-notes.yml vendored Normal file
View File

@@ -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

View File

@@ -0,0 +1,6 @@
---
category: Maintenance
authors: [j-f1]
---
Migrate to the combined release notes action from the main repo