yumemi-inc/Path Filter

A GitHub Action to filter changed files in pull requests and commits.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
patternsPath pattern to filter. See README for details.no
runBash script to run if at least one file exists after filtering.no
run-if-notBash script to run if no file exists after filtering.no
head-refCurrent branch, tag, or commit SHA to compare with base.no${{ github.event_name == 'pull_request_target' && format('refs/pull/{0}/merge',github.event.number) || github.sha }}
base-refBranch, tag, or commit SHA as a basis for comparison.no${{ (github.event_name == 'pull_request' && github.base_ref) || (github.event_name == 'pull_request_target' && github.base_ref) || (github.event_name == 'push' && (startsWith(github.event.before, '0000') && github.event.repository.default_branch || github.event.before)) || (github.event_name == 'merge_group' && github.event.merge_group.base_sha) || github.event.repository.default_branch }}
use-merge-baseWhether to compare with the latest common commit.nofalse
namedescription
existsWhether at least one file exists after filtering.
action-pathUsed to access artifact files.