Closed butlerx closed 3 weeks ago
Skip checking a github action step if its not an array as its possibly a templated string. In gh actions a valid config is ${{ toJSON(steps) }} which breaks the plugins parsing. if we see a string we should just skip those steps
${{ toJSON(steps) }}
Open in Stackblitz
bun add https://pkg.pr.new/knip@827
commit: 23bf22c
23bf22c
Thanks @butlerx! Should be out shortly.
:rocket: This pull request is included in v5.36.1. See Release 5.36.1 for release notes.
Using Knip in a commercial project? Please consider becoming a sponsor.
Skip checking a github action step if its not an array as its possibly a templated string. In gh actions a valid config is
${{ toJSON(steps) }}
which breaks the plugins parsing. if we see a string we should just skip those steps