-
-
Save KyMidd/095f055525e89526d5d4824f83937dc6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| while IFS= read -r commit; do | |
| # Check if ticket in static permit-list for non-Jira commit_sha | |
| if $(git log --max-count=1 --format=%B $commit | grep -iqE "$commit_static_permit_list"); then | |
| echo "************" | |
| echo "Commit message \"$(git log --max-count=1 --format=%B $commit)\" matches static permit-list and is valid, continuing" | |
| continue | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment