Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,18 @@ jobs:
labels: ubuntu-latest-deco

outputs:
# paths-filter v3.0.2 doesn't support predicate-quantifier: 'every',
# so the filter computes "any non-inert file changed" and we invert
# here to expose the positive form the consumers want.
# non_inert lists changed files that are NOT inert; inert_only is the
# inverse. predicate-quantifier 'every' is required: a file is non_inert
# only if it matches ALL patterns ('**' AND none of the inert paths).
# The default 'some' would match any single pattern, and '**' matches
# everything, so non_inert would always be true and the skip never fire.
inert_only: ${{ steps.filter.outputs.non_inert == 'false' }}

steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: filter
with:
predicate-quantifier: 'every'
filters: ${{ env.INERT_PATHS_FILTER }}

# For PRs that contain code (inert_only == 'false'), a follow-up push that
Expand Down
Loading