From bc482c7a333ed410b1786f26bdab616e1da378f5 Mon Sep 17 00:00:00 2001 From: adongare Date: Tue, 13 Feb 2024 17:14:59 -0500 Subject: [PATCH] debug git commit --- .github/workflows/commit_message_validation.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/commit_message_validation.yml b/.github/workflows/commit_message_validation.yml index b230309..61d4f0b 100644 --- a/.github/workflows/commit_message_validation.yml +++ b/.github/workflows/commit_message_validation.yml @@ -23,9 +23,9 @@ jobs: # This list permits some commits commit_static_permit_list="(^Merge pull request \#)|(^Merge branch)|(^Revert \")" # Initialize invalidCommit as false, will be set to true by any invalid commits -# invalidCommit=false -# # Find hash of commit most common ancestor, e.g. where branch began -# BRANCH_MERGE_BASE=$(git merge-base ${BASE_BRANCH} ${CURRENT_BRANCH}) + invalidCommit=false + # Find hash of commit most common ancestor, e.g. where branch began + BRANCH_MERGE_BASE=$(git merge-base ${BASE_BRANCH} ${CURRENT_BRANCH}) # # Find all commits since common ancestor # BRANCH_COMMITS=$(git rev-list ${BRANCH_MERGE_BASE}..HEAD) exit 0 \ No newline at end of file