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

chore(ci): improve handling of user provided file names #63

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aduh95
Copy link
Contributor

@aduh95 aduh95 commented Jan 9, 2025

The current workflow assume the added files returned by git diff won't include a \t char, but a user could name an input file with that char. We can ask jq to clean up the input for us.
I'm also switching to using $GITHUB_OUTPUT instead of $GITHUB_ENV in case one of the file contains a \n char.

@aduh95 aduh95 requested a review from a team as a code owner January 9, 2025 22:38
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.

1 participant