neuroimaging-cookbook / neuroimaging-cookbook.github.io

https://neuroimaging-cookbook.github.io
Apache License 2.0
9 stars 9 forks source link

Create bot to add new recipes #28

Open dmoracze opened 2 years ago

dmoracze commented 2 years ago

Once issue is created to add new recipe:

  1. Human reviews the recipe to determine if it should be added
  2. Once good to go, human calls upon bot
  3. Bot can either create PR and/or create PR and merge to main, depending on how human calls it
dmoracze commented 2 years ago

https://github.com/mattduck/gh2md

scovitz commented 2 years ago

@all-contributors please add @dmoracze for code

allcontributors[bot] commented 2 years ago

@scovitz

I've put up a pull request to add @dmoracze! :tada:

dmoracze commented 2 years ago

Example for how to download the 1st post of an issue using Github's REST API

To download issue #28 to a .json:

curl https://api.github.com/repos/neuroimaging-cookbook/neuroimaging-cookbook.github.io/issues/28

Call above will set the .json to stdout, but you can pipe it to a file.