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

feat: add core.getStringAsArray to parse array-like inputs (separated by either commas or new lines) #1926

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

iamstarkov
Copy link

@iamstarkov iamstarkov commented Jan 5, 2025

comes in handy for fields with short items, like pr labels. I reimplemented it multiple times in my corporate actions. Feels like it belongs to the core alongside with getMultilineInput from #829

copied from https://github.com/peter-evans/create-pull-request/blob/main/src/utils.ts (authored by @peter-evans, perhaps include him as Co-authored-by: in the merge commit body)

@iamstarkov iamstarkov marked this pull request as ready for review January 5, 2025 14:41
@iamstarkov iamstarkov requested a review from a team as a code owner January 5, 2025 14:41
@iamstarkov
Copy link
Author

@Redmishiaomi, @luketomlinson, @peter-evans do you want to take a look at this?

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