actions / toolkit

The GitHub ToolKit for developing GitHub Actions.
https://github.com/features/actions
MIT License
5.02k stars 1.45k forks source link

feat(core): add getYamlInput function #1775

Closed qoomon closed 2 months ago

qoomon commented 3 months ago

Use Case Example

 - uses: foo/bar@v1
    with:
        permissions: |
             foo: admin
             bar: write
rindeal commented 2 months ago

So, you want to add an additional dependency to a core package just so that you can type:

core.getYamlInput(input)

instead of

YAML.parse(core.getInput(input))

Yeah, that's not going to happen, mate.

qoomon commented 2 months ago

@rindeal I think you got a point :-D