Description
The workflows and exclude-workflows inputs currently require exact filenames (e.g., ci.yml,deploy.yml). It would be useful to support glob patterns for more flexible matching.
Use Case
For example, being able to exclude workflows matching a pattern:
exclude-workflows: 'experimental-*.yml'
Or include only workflows matching a pattern:
workflows: 'deploy-*.yml'
Current Behavior
Both inputs split by comma and do exact string comparison against workflow file basenames using .includes().
Proposed Behavior
Support glob patterns (e.g., via minimatch) in addition to exact filenames. Exact filenames should continue to work as they do today.
Description
The
workflowsandexclude-workflowsinputs currently require exact filenames (e.g.,ci.yml,deploy.yml). It would be useful to support glob patterns for more flexible matching.Use Case
For example, being able to exclude workflows matching a pattern:
Or include only workflows matching a pattern:
Current Behavior
Both inputs split by comma and do exact string comparison against workflow file basenames using
.includes().Proposed Behavior
Support glob patterns (e.g., via minimatch) in addition to exact filenames. Exact filenames should continue to work as they do today.