Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> If the sole purpose of GitHub Actions is to run a few shell scripts in order, why does it have expression evaluation, conditions, and dozens of stock actions other than `run`?

For you to make that comment, I'm not sure you ever went through any basic intro to GitHub Actions tutorial.

GitHub Actions has 'run'.

https://docs.github.com/en/actions/writing-workflows/workflo...

Now that we established that, GitHub Actions also supports custom actions, which is a way to create, share, and reuse high-level actions. Instead of copy-pasting stuff around, you do the equivalent of importing a third party module.

https://docs.github.com/en/actions/sharing-automations/creat...

Onboarding a custom GitHub Action does not prevent you from using steps.run.

I don't even know where to start regarding your comment on expression evaluation and conditions. Have you used a CICD system before?

The problem with half the comments in this thread railing against CICD in general, YAML, etc is that they clearly do not have a faintest idea about what they are doing, and are instead complaining about ther own inability.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: