Skip to content

Commit 91985a4

Browse files
committed
Add GitHub Actions workflow for drafting release notes
1 parent 9838d57 commit 91985a4

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
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/[email protected]
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)