From abca5dbf611b26aee52a9af529492793c4f1ad8a Mon Sep 17 00:00:00 2001 From: Nitrrine <43351072+Nitrrine@users.noreply.github.com> Date: Fri, 8 Dec 2023 23:09:42 +0600 Subject: [PATCH] Add commit message to Prettier GH Action --- .github/workflows/prettier.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index 2aa75a4..594b711 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -35,5 +35,5 @@ jobs: git config user.name "GitHub Actions" git config user.email "actions@github.com" git add . - git commit -m "Format code with Prettier" + git commit -m "${{ github.event.head_commit.message }} (Formatted code with Prettier)" git push