We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6559d2 commit 4039499Copy full SHA for 4039499
1 file changed
.github/workflows/ci-cd.yml
@@ -92,6 +92,19 @@ jobs:
92
# It appends to CHANGELOG.md in the runner.
93
run: python3 scripts/generate_changelog.py
94
95
+ - name: Commit and Push Changelog
96
+ run: |
97
+ git config --global user.name "github-actions[bot]"
98
+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
99
+ git add CHANGELOG.md
100
+ # Only commit if there are changes
101
+ if git diff --staged --quiet; then
102
+ echo "No changes to commit."
103
+ else
104
+ git commit -m "docs: update changelog [skip ci]"
105
+ git push
106
+ fi
107
+
108
- name: Upload Changelog Artifact
109
uses: actions/upload-artifact@v4
110
with:
0 commit comments