Skip to content

Commit

Permalink
Update CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
chen08209 committed Nov 9, 2024
1 parent 72bef5f commit 297d8e1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 632 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/change.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,19 @@ jobs:
- name: Commit
run: |
if git diff --cached --quiet; then
if ! git diff --quiet; then
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add CHANGELOG.md
git commit -m "Update Changelog"
git commit -m "Update changelog"
git push
if [ $? -eq 0 ]; then
echo "Push succeeded"
else
echo "Push failed"
exit 1
fi
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading

0 comments on commit 297d8e1

Please sign in to comment.