Currently workflows are excluded by filename like:
exclude-workflows: 'experimental.yml,temp-workflow.yml'
exclude-workflows: 'experimental-*.yml'
But this can lead to unwanted exclusions for common filenames like ci.yml which are then excluded in all traversed repos during recursion into remote actions/workflows.
My suggestion:
Exclusions must be by full path
Example: some-org/some-repo/.github/workflows/ci.yml@v1
To exclude this, one must provide:
- org/owner
- repo-name
- path before the
@
Glob/Wildcard handling
One could discuss the use of wildcards for:
But for simplicity I'd opt for globs/wildcards only being accepted in the filename or maybe in the path, but NOT in the owner/repo.
You brought this up in #81 (comment) and I also thought about this a while ago. It's a valid issue to be improved imho.
Currently workflows are excluded by filename like:
exclude-workflows: 'experimental.yml,temp-workflow.yml'exclude-workflows: 'experimental-*.yml'But this can lead to unwanted exclusions for common filenames like
ci.ymlwhich are then excluded in all traversed repos during recursion into remote actions/workflows.My suggestion:
Exclusions must be by full path
Example:
some-org/some-repo/.github/workflows/ci.yml@v1To exclude this, one must provide:
@Glob/Wildcard handling
One could discuss the use of wildcards for:
But for simplicity I'd opt for globs/wildcards only being accepted in the filename or maybe in the path, but NOT in the owner/repo.
You brought this up in #81 (comment) and I also thought about this a while ago. It's a valid issue to be improved imho.