Open
Description
Is your feature request related to a problem? Please describe.
- Writing javascript in YAML is less than ideal. Most editors won't fully support syntax highlighting, linting, etc.
- Using the checkout action first, a user can require() a local script and run it, but performing a full checkout first for large repositories for workflows that only need to run a single script is less than optimal.
Describe the solution you'd like
- Add an additional input such as
files
which can be retrieved via the github API if not present, before the main script is run.
Describe alternatives you've considered
- Checking out the entire repository, then using require() and run.
- Using other 3rd party actions to load one or more repository files, then require() and run.
- Role our own to do the same thing
- Requesting actions/checkout add a
files
input to reduce retrieved content and use that here.
Additional context
I find writing actions and workflows, even using act, to be a painful experience in general. Any additional features of an action that ease the pain somewhat are greatly appreciated. Using multiple actions to simulate something that an action could do on its own works, but it's less than ideal.