Skip to content

Commit

Permalink
test push
Browse files Browse the repository at this point in the history
  • Loading branch information
Blaizzy committed Jul 16, 2024
1 parent af39cdf commit 71c03b3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/update_changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ jobs:
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add docs/changelog.md
git commit -m "Update changelog for latest release" || echo "No changes to commit"
git push
git diff --quiet && git diff --staged --quiet || (git commit -m "Update changelog for latest release" && git push)
if [[ -n $(git status --porcelain) ]]; then
echo "Changelog was updated. Script is working correctly."
else
Expand Down

0 comments on commit 71c03b3

Please sign in to comment.