Repository navigation
fix(args): split path filter env vars - #1449
Closed
saudademjj wants to merge 1 commit into
Closed
saudademjj wants to merge 1 commit into
saudademjj wants to merge 1 commit into
Conversation
1 task done
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1449 +/- ##
=======================================
Coverage 47.57% 47.57%
=======================================
Files 24 24
Lines 2119 2119
=======================================
Hits 1008 1008
Misses 1111 1111
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
Author
|
All code/test checks are passing. The only failing check is Test deployment, which GitHub canceled with: "Canceling since a higher priority waiting request for pages exists". |
Contributor
Author
|
Closing this in favor of #1450, which covers the same issue with a cleaner final state and passing checks. Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add a path filter env value delimiter so space-separated values from
GIT_CLIFF_INCLUDE_PATHare parsed into multiple patterns instead of a single string. For consistency, apply the same behavior toGIT_CLIFF_EXCLUDE_PATHand add a regression test that covers both env vars.Motivation and Context
Fixes #1447.
Without an explicit delimiter, multi-value path filters passed through env vars are treated as one value, which breaks the documented/expected path filtering workflow.
How Has This Been Tested?
GIT_CLIFF_INCLUDE_PATHandGIT_CLIFF_EXCLUDE_PATHcargo testcargo clippy --tests --verbose -- -D warningscargo +nightly fmt --all -- --checkScreenshots / Logs (if applicable)
N/A
Types of Changes
Checklist:
cargo +nightly fmt --allcargo clippy --tests --verbose -- -D warningscargo test