datalad / datalad-usage-dashboard

Dashboard of detected usages of DataLad
MIT License
4 stars 2 forks source link

Script for searching GitHub for Datalad repos #2

Closed jwodder closed 3 years ago

jwodder commented 3 years ago

Closes #1.

Note: The script kept triggering GitHub's abuse detection while searching, so I had to add in a bunch of sleep calls. Running the script thus ended up taking almost 18 minutes.

yarikoptic commented 3 years ago

Awesome! Can we run it on cron GitHub action?

yarikoptic commented 3 years ago

Eg daily

jwodder commented 3 years ago

@yarikoptic Scheduled workflow added.

jwodder commented 3 years ago

@yarikoptic Note: A GitHub token will need to be added to the repository as a secret named "SEARCH_GITHUB_TOKEN". I don't believe the presupplied GITHUB_TOKEN has the necessary permissions to perform searches.

yarikoptic commented 3 years ago

I will just merge and provide token and comments of any as issues later. Thank you @jwodder , awesome work

yarikoptic commented 3 years ago

added the secret, let's see if works ;)