Skip to content

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?

@iamstarkov iamstarkov changed the title feat: add core.getStringAsArray to parse array-like inputs (separated by either commas or new lines) feat: add core.getListInput to parse list inputs (separated by either commas or new lines) Mar 26, 2025
@iamstarkov
Copy link
Author

@GhadimiR Is this something which can be added?

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