Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add -type f to generate-matrix default find(1) options #166

Merged
merged 3 commits into from
Jan 7, 2025
Merged

Conversation

pbrisbin
Copy link
Member

@pbrisbin pbrisbin commented Jan 6, 2025

This ensures we only list regular files and not symbolic links. It may
be the case that a project symlinks stack.yaml to one of the specific
configurations. In such cases, only the actual files should generate
matrix elements. Generating one for stack.yaml would be redundant.

Projects that attach extra tasks (weeder, coverage) to only the
stack.yaml build should either not use a symlink, or adjust the find
input accordingly.

This ensures we only list regular files and not symbolic links. It may
be the case that a project symlinks `stack.yaml` to one of the specific
configurations. In such cases, only the actual files should generate
matrix elements. Generating one for `stack.yaml` would be redundant.

Projects that attach extra tasks (weeder, coverage) to only the
`stack.yaml` build should either not use a symlink, or adjust the `find`
input accordingly.
@pbrisbin pbrisbin requested a review from chris-martin January 6, 2025 19:13
@pbrisbin pbrisbin merged commit fd173a3 into main Jan 7, 2025
19 checks passed
@pbrisbin pbrisbin deleted the pb/find branch January 7, 2025 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants