Skip to content

Commit ee5f7de

Browse files
committed
fix filter logic
1 parent 897b201 commit ee5f7de

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
permissions:
2626
pull-requests: read
2727
outputs:
28-
runnable: ${{ steps.filter.outputs.runnable }}
28+
runnable: ${{ fromJSON(steps.filter.outputs.all_count) > fromJSON(steps.filter.outputs.workflows_count) }}
2929
steps:
3030
- uses: actions/checkout@v6
3131
# Use this action, rather than a file filter so that we can make this
@@ -36,10 +36,10 @@ jobs:
3636
id: filter
3737
with:
3838
filters: |
39-
runnable:
39+
all:
4040
- '**'
41-
- '!.github/workflows/**'
42-
41+
workflows:
42+
- '.github/workflows/**'
4343
# detect whether or note we should run "bulk" (non-handwritten) unit tests
4444
bulk-filter:
4545
needs: filter

0 commit comments

Comments
 (0)