Hacker News new | ask | show | jobs
by RvdV 2071 days ago
Wow, that's a cool idea! I wonder, how do you handle bad responses (e.g. HTTP 400/500) from the server? It might mess up the logs twice if it's committed...
1 comments

I think if that happens `curl` returns an error status which kills the actions script before it gets to the commit - so you get an error message on the action but nothing is committed to the repo.
Ah, that makes sense, thanks!