ivan,
@ivan@hachyderm.io avatar

Writing a GitHub Action be like: why do something in 10 lines of bash when you could write 200 lines of JavaScript and pull in 30 package dependencies instead

ivan,
@ivan@hachyderm.io avatar

But seriously though, I don’t understand why GitHub decided the only blessed way to get post-hooks is to write an action that must be executed by NodeJS. You can easily write a JS script that executes a shell script, so why not cut out the middle man entirely?

Sure GitHub publishes some npm packages which give you some cross platform APIs, but for a simple, Linux-only CI a shell script is more than plenty

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • Durango
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • khanakhh
  • InstantRegret
  • Youngstown
  • ngwrru68w68
  • slotface
  • rosin
  • tacticalgear
  • mdbf
  • kavyap
  • modclub
  • megavids
  • osvaldo12
  • ethstaker
  • cubers
  • normalnudes
  • everett
  • tester
  • GTA5RPClips
  • Leos
  • cisconetworking
  • provamag3
  • anitta
  • JUstTest
  • lostlight
  • All magazines