Skip to content

Commit

Permalink
add test to check 0 counts are falsy
Browse files Browse the repository at this point in the history
  • Loading branch information
Obi-Dann committed Sep 11, 2024
1 parent b29a30c commit 8354258
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/pull-request-verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8354258

Please sign in to comment.