Skip to content

Commit 33bda24

Browse files
committed
Add workflow for generating draft release notes on version tags
1 parent 7985ecd commit 33bda24

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Draft Release Notes
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*.*.*"
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
draft-release:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v6.0.1
16+
with:
17+
fetch-depth: 0
18+
- name: Generate release notes
19+
uses: btfranklin/release-notes-scribe@v0
20+
with:
21+
openai_api_key: ${{ secrets.OPENAI_API_KEY }}
22+
github_token: ${{ secrets.GITHUB_TOKEN }}
23+
include_github_generated_notes: "true"

0 commit comments

Comments
 (0)