From eb65aac222791ecdd0f196324079a82c55c2eeab Mon Sep 17 00:00:00 2001 From: Akuli Date: Sun, 5 Jan 2025 14:12:12 +0200 Subject: [PATCH] tweak grep --- .github/workflows/valgrind.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/valgrind.yml b/.github/workflows/valgrind.yml index 8cd21262..b27e03c4 100644 --- a/.github/workflows/valgrind.yml +++ b/.github/workflows/valgrind.yml @@ -20,7 +20,7 @@ jobs: # Do not valgrind when there's nothing new to valgrind in the repo - name: Check if there was any commits within the last 24 hours run: | - if git log --oneline --since="24 hours ago" --name-only --pretty=format: | grep -q '.'; then + if git log --oneline --since="24 hours ago" --name-only --pretty=format: | grep '.'; then echo "recent_commits=true" >> $GITHUB_ENV else echo "No commits, will not run valgrind"