Skip to content

Support glob patterns for workflows and exclude-workflows inputs #55

@joshjohanning

Description

@joshjohanning

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.

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions