diff --git a/.github/workflows/valgrind.yml b/.github/workflows/valgrind.yml index 8ed1f67c..8cd21262 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="1 minutes ago" --name-only --pretty=format: | grep -q '.'; then + if git log --oneline --since="24 hours ago" --name-only --pretty=format: | grep -q '.'; then echo "recent_commits=true" >> $GITHUB_ENV else echo "No commits, will not run valgrind"