Thread
#github-actions-kotlin-dsl
    Piotr Krzemiński

    Piotr Krzemiński

    6 months ago
    it would be so cool to have a way for the actions owners to specify typings in action.yml... then as we encourage them to do it, we could get rid of the typings in our wrapper generator, and adding such wrapper generator would mean literally a single line of code. Any thoughts? It's not an easy task, it would mean establishing some kind of standard
    jmfayard

    jmfayard

    6 months ago
    You can't convince hundreds of independents action of developers Only way this could possibly work is if GitHub itself asks for it and make it mandatory for new releases.
    Piotr Krzemiński

    Piotr Krzemiński

    6 months ago
    I can't convince all of them, but I can say "if you want your action to be available in Kotlin DSL (and perhaps DSLs in other languages) without manual mappings, you can provide type info" 🙂 but yeah, it would be a mundane task to talk to inviduals
    jmfayard

    jmfayard

    6 months ago
    I would say the goal would be to ask GitHub to add an optional
    type:
    attribute. If that succeeds, you could imagine opening issues asking to support it, with a reference to the official documentation
    Piotr Krzemiński

    Piotr Krzemiński

    6 months ago
    I once tried to ask a question on GitHub Community forums, but it didn't get through the spam detection or something...
    maybe you could try to ask GitHub?
    another question I had to them was a mechanism to support custom YAML builders, so instead of having plain YAML files, GitHub could run a script that would generate it. Then we would simplify our library by not having to place the consistency check because GitHub would generate the YAML each time