From f50a6adda3bf39d3b9196c5f34c6179842167b4a Mon Sep 17 00:00:00 2001 From: adongare Date: Tue, 13 Feb 2024 17:07:37 -0500 Subject: [PATCH] debug git action --- .../workflows/commit_message_validation.yml | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/commit_message_validation.yml b/.github/workflows/commit_message_validation.yml index 1f6ab22..e43d7c8 100644 --- a/.github/workflows/commit_message_validation.yml +++ b/.github/workflows/commit_message_validation.yml @@ -18,14 +18,14 @@ jobs: # Checkout branch git checkout -q ${{ github.event.pull_request.head.ref }} # Set variables - BASE_BRANCH=${{ github.event.pull_request.base.ref }} - msg_regex='MAT-[0-9]+\s.*' - # 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}) - # Find all commits since common ancestor - BRANCH_COMMITS=$(git rev-list ${BRANCH_MERGE_BASE}..HEAD) +# BASE_BRANCH=${{ github.event.pull_request.base.ref }} +# msg_regex='MAT-[0-9]+\s.*' +# # 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}) +# # Find all commits since common ancestor +# BRANCH_COMMITS=$(git rev-list ${BRANCH_MERGE_BASE}..HEAD) exit 0 \ No newline at end of file