Skip to content

Commit

Permalink
git action debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
adongare committed Feb 13, 2024
1 parent 7af39c8 commit 0c8a240
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/commit_message_validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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})
# Find all commits since common ancestor
BRANCH_COMMITS=$(git rev-list ${BRANCH_MERGE_BASE}..HEAD)
# 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

0 comments on commit 0c8a240

Please sign in to comment.