Closed sverhoeven closed 3 years ago
Option 1 could look like
INPUT_RULES=https://github.com/NLeSC/tortellini-on-rsd/raw/main/config/rules.kts \
INPUT_CLASSIFICATIONS=https://github.com/NLeSC/tortellini-on-rsd/raw/main/config/license-classifications.yml \
node dist/index.js
Fixed in #129
https://github.com/tortellini-tools/action/blob/main/README.dev.md#on-the-current-repository describes how to run check locally however this gives error:
Probably because the default value from action.yml is not used. The
core.getInput(name)
only readsINPUT_NAME
env variable.To be able to run locally we could
INPUT_<config>=<default config url>
env vars to README.dev.mdcore.getInput(name)
withcore.getInput(name) || '<default config url>'
What is the best solution?