Closed ilyash-b closed 3 years ago
to install NGS to try it out, you can simply curl https://ngs-lang.org/install.sh | bash
Thanks for the suggestion @ilyash-b
However, we would prefer to continue using standard bash in order to avoid setting an entry barrier for understanding or contributing to the GitHub Action
https://github.com/CodelyTV/pr-size-labeler/blob/48a746c126f0c8aef5ac07dfd7096c2a66b43cc6/src/github.sh#L15-L33
From my biased perspective, as the author, NGS is better fit for this tool. Please consider. Sample, untested, translation of the referenced code follows:
$GITHUB_API_HEADER
is intentionally not inside double quotes, it is passed as exactly one argument, as is.