We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8dfcc8 commit 7217540Copy full SHA for 7217540
1 file changed
.github/workflows/ai-changelog.yml
@@ -0,0 +1,25 @@
1
+name: Generate Changelog for PR
2
+
3
+on:
4
+ issue_comment:
5
+ types:
6
+ - created
7
8
+permissions:
9
+ contents: read
10
11
+jobs:
12
+ changelog:
13
+ name: Generate Changelog for PR
14
+ runs-on: ubuntu-latest
15
+ permissions:
16
17
+ pull-requests: write
18
+ if: >
19
+ github.event.issue.pull_request &&
20
+ github.event.comment.body == '/changelog'
21
+ steps:
22
+ - name: Generate changelog for PR
23
+ uses: Automattic/vip-actions/ai-changelog-generator@a6fbe0e57d8f43f81d8b8f245c9c0d2b464ac4f2
24
+ with:
25
+ openai_api_key: ${{ secrets.OPENAI_API_KEY }}
0 commit comments