-
-
Notifications
You must be signed in to change notification settings - Fork 39
48 lines (39 loc) · 1.21 KB
/
changelog.yml
File metadata and controls
48 lines (39 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Generate Changelog
on:
push:
tags:
- 'v*'
- '*.*.*'
permissions:
contents: write
jobs:
changelog:
runs-on: ubuntu-latest
outputs:
changelog: ${{ steps.generate.outputs.result }}
from_tag: ${{ steps.generate.outputs.from_tag }}
to_tag: ${{ steps.generate.outputs.to_tag }}
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
filter: blob:none
- name: Generate Changelog
id: generate
uses: mistricky/ccc@v0.2.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
model: claude-sonnet-4-6
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref_name }}
name: Release ${{ github.ref_name }}
body: |
## 🤖 AI-Generated Changelog
${{ steps.generate.outputs.result }}
---
🔗 **Full Changelog**: https://github.com/${{ github.repository }}/compare/${{ steps.generate.outputs.from_tag }}...${{ steps.generate.outputs.to_tag }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}