From 8354258aa5ed82c34ba3366ab51ca641968534a7 Mon Sep 17 00:00:00 2001 From: Daniil Samoylov Date: Wed, 11 Sep 2024 17:50:57 +1200 Subject: [PATCH] add test to check 0 counts are falsy --- .github/workflows/pull-request-verification.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/pull-request-verification.yml b/.github/workflows/pull-request-verification.yml index 2018ba3..e0b7c15 100644 --- a/.github/workflows/pull-request-verification.yml +++ b/.github/workflows/pull-request-verification.yml @@ -152,3 +152,9 @@ jobs: - name: added-test if: steps.filter.outputs.local_added != 1 run: exit 1 + + - name: modified-test + # local_modified is 0 + # testing whether the local_modified is falsy or GH converts it to a truthy string of "0" + if: ${{steps.filter.outputs.local_modified}} + run: exit 1