fregante / ghat

🛕 Reuse GitHub Actions workflows across repositories
https://npm.im/ghat
MIT License
264 stars 9 forks source link

Change inline configuration format #21

Closed fregante closed 3 years ago

fregante commented 3 years ago

Prepare for https://github.com/fregante/ghat/issues/9

- # DO NOT EDIT BLOW, USE: npx ghat fregante/ghatemplates/node --exclude jobs.Test
+ # FILE GENERATED WITH: npx ghat
+ # SOURCE: https://github.com/fregante/ghatemplates
+ # OPTIONS: {"source":"fregante/ghatemplates/node","exclude":["jobs.Test"]}

Advantages:

Disadvantages:

fregante commented 3 years ago

Change:

- # FILE GENERATED WITH: npx ghat
+ # FILE GENERATED WITH: npx ghat fregante/ghatemplates/node
  # SOURCE: https://github.com/fregante/ghatemplates
- # OPTIONS: {"source":"fregante/ghatemplates/node","exclude":["jobs.Test"]}
+ # OPTIONS: {"exclude":["jobs.Test"]}

Advantages over the previous version: