From f099b916d718bcfbb6fbb5e0c493bdca01fbf934 Mon Sep 17 00:00:00 2001 From: Frits Sweijen Date: Sun, 28 Jan 2024 12:37:53 +0100 Subject: [PATCH] Add Black format check workflow --- .github/workflows/format-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/format-check.yml b/.github/workflows/format-check.yml index c639b8a..7ce8cdd 100644 --- a/.github/workflows/format-check.yml +++ b/.github/workflows/format-check.yml @@ -15,4 +15,4 @@ jobs: args: . - name: Check for modified files id: git-check - run: echo "modified=$(if git diff-index --quiet HEAD --; then echo "false"; else echo "true"; fi)" >> $GITHUB_OUTPUT + run: echo "modified=$(if git diff-index --quiet HEAD --; then echo "Code formatting inconsistent. Please format using Black."; else echo "Code formatting is consistent with Black."; fi)" >> $GITHUB_OUTPUT