From fe9fa4f4de931b3877abc2f102446800c715da19 Mon Sep 17 00:00:00 2001 From: Chris Rybicki Date: Mon, 25 Mar 2024 15:39:03 -0400 Subject: [PATCH] change --- pr-lint.w | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pr-lint.w b/pr-lint.w index 843cbbee..eb5fcfd6 100644 --- a/pr-lint.w +++ b/pr-lint.w @@ -34,8 +34,8 @@ pub class PullRequestLintWorkflow { "run": "wing compile generate-workflows.main.w", }, { - "name": "Detect changes", - "run": "git diff --exit-code", + "name": "Detect git diff, or raise error message", + "run": "git diff --exit-code || (echo 'Please run \"wing compile generate-workflows.main.w\" and commit any changes to your branch.' && exit 1)", }, ], },