Skip to content

Commit

Permalink
Update commit_message_check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hannes-dev authored Jun 11, 2024
1 parent 0de706e commit 6d380c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/commit_message_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

- name: check commit messages
run: |
git log --format="%s" main..HEAD | while IFS= read -r message; do
git log --format="%s" origin/main..HEAD | while IFS= read -r message; do
if ! [[ $commit_message =~ ^(vingo:|vinscant:|vinvoor:|zess:) ]]; then
echo "Error: commit message should start with vingo:|vinscant:|vinvoor:|zess: depending on which subproject you are working on."
exit 1
Expand Down

0 comments on commit 6d380c2

Please sign in to comment.