From 087b380d0da691132533538e0c6a2f57c65a2a8e Mon Sep 17 00:00:00 2001 From: ben little Date: Thu, 6 Jun 2024 21:29:10 -0600 Subject: [PATCH] exit 0 if grep exits 0 --- .github/workflows/todo-check.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/todo-check.yaml b/.github/workflows/todo-check.yaml index 7d2c922..1a43120 100644 --- a/.github/workflows/todo-check.yaml +++ b/.github/workflows/todo-check.yaml @@ -16,5 +16,5 @@ jobs: - name: Checkout uses: actions/checkout@v4 - run: | - grep -r 'TODO' .github || exit 0 + grep -r 'TODO' .github && exit 0 exit 1