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 33fbce5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 635 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/change.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,20 @@ jobs:
- name: Commit
run: |
if !git diff --cached --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 add CHANGELOG.md
if ! git diff --cached --quiet; then
echo "Commit pushing"
git config --local user.email "[email protected]"
git config --local user.name "chen08209"
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 33fbce5

Please sign in to comment.