Skip to content

Commit

Permalink
add logs to help understand the commit history
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Oct 29, 2024
1 parent c77a440 commit 2b4bbbc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/actions/commit_and_push/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ runs:
# Create and switch to new branch
git switch -c "${{ inputs.branch-name }}"
echo "Current git log:"
git log --oneline -n 20
# Show status of working directory
echo "Current git status:"
git status
Expand All @@ -35,3 +38,6 @@ runs:
else
echo "No changes to commit. Skipping commit and push."
fi
echo "Current git log after commit and push:"
git log --oneline -n 20

0 comments on commit 2b4bbbc

Please sign in to comment.