We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b0a571 commit 6acb4e7Copy full SHA for 6acb4e7
1 file changed
.github/workflows/PR.yml
@@ -35,3 +35,23 @@ jobs:
35
run: cargo build --verbose
36
- name: Run tests
37
run: cargo test --verbose
38
+
39
+ - uses: actions/checkout@v3
40
+ with:
41
+ fetch-depth: 0 # required for git-cliff
42
43
+ - name: Install git-cliff
44
+ run: cargo install git-cliff
45
46
+ - name: Generate changelog
47
+ run: git-cliff -o CHANGELOG.md
48
49
+ - name: Commit changelog
50
+ run: |
51
+ git config user.name "GitHub Actions"
52
+ git config user.email "actions@github.com"
53
+ git add CHANGELOG.md
54
+ git commit -m "chore: update changelog for release" || echo "no changes"
55
56
+ - name: Push changelog
57
+ run: git push origin main || echo "no changes"
0 commit comments