zlacker

[parent] [thread] 3 comments
1. duped+(OP)[view] [source] 2021-08-19 17:43:25
> the web editor has support for workflow syntax and will determine if your action is viable before committing.

I don't use the web editor, but more importantly it can't catch logical errors (missing required with: arguments, secrets that don't exist, environment variable names, etc).

> I'm curious what prevents you from writing your own actions in typescript now?

When I say "I want to write actions in typescript" I mean that I want to specify the entirety of my CI using a typescript program, without any YAML configuration. In particular, the jobs of a workflow themselves.

I have many jobs shared between build/test/release with slightly different triggers and configurations, but the only way to handle this in actions (especially when using imported actions) is by copying/pasting YAML. That wound up being untenable, and it's why I stripped out all action dependencies and wrote the automation to not use them such that all workflows

I've also had use cases for recursive workflows.

Act doesn't cover any of my use cases.

replies(1): >>simonw+fj
2. simonw+fj[view] [source] 2021-08-19 19:18:48
>>duped+(OP)
Have you considered writing a code generator that lets you define actions in TypeScript and have it generate the YAML for you?
replies(2): >>zzbzq+dC >>Dangit+sZ
◧◩
3. zzbzq+dC[view] [source] [discussion] 2021-08-19 20:56:36
>>simonw+fj
This is absurd
◧◩
4. Dangit+sZ[view] [source] [discussion] 2021-08-19 23:43:54
>>simonw+fj
We built this for my company. It's called YATM. Yet Another Thing to Maintain. ;)
[go to top]