From 2b4bbbc1eb65b7987a9b5a1db6f778ad8996ba4c Mon Sep 17 00:00:00 2001
From: Benjamin DeMann <benjamin.demann@gmail.com>
Date: Tue, 29 Oct 2024 16:00:13 -0600
Subject: [PATCH] add logs to help understand the commit history

---
 .github/actions/commit_and_push/action.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.github/actions/commit_and_push/action.yml b/.github/actions/commit_and_push/action.yml
index b160cde5b1..ea2fbca71c 100644
--- a/.github/actions/commit_and_push/action.yml
+++ b/.github/actions/commit_and_push/action.yml
@@ -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
@@ -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