Просмотр исходного кода

bold author name in commit message

narodnik 5 лет назад
Родитель
Сommit
af312d1f12
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      .github/workflows/matrix-commit-message.yml

+ 1 - 1
.github/workflows/matrix-commit-message.yml

@@ -10,7 +10,7 @@ jobs:
       - run: |
           ALL_MSGS=""
           for i in ${{ join(github.event.commits.*.id, ' ') }}; do
-            MSG=$(git --no-pager show -s --format='%h %an: %s' $i)
+            MSG=$(git --no-pager show -s --format='%h <b>%an</b>: %s' $i)
             ALL_MSGS="$ALL_MSGS$MSG"$'\n'
           done
           echo "::set-output name=COMMIT_MESSAGE::$ALL_MSGS"