Lets get a summarize of all github repository you want.
- Generate github personal access: https://github.com/blog/1509-personal-api-tokens This application does not requires any specific access
- Get OVH Functions client
- Export credentials to your environment
export USERNAME="my-github-login" export API_TOKEN="my-generated-token"
- Clone this repository
git clone [email protected]:holyhope/github-watcher.git
- Deploy your function:
cd where-you-cloned-the-repository ovh-functions deploy
- Execute the function with 1 parameter which is the github id:
owner/repository
:echo -n "holyhope/github-watcher" | ovh-functions exec github_watch
- Update
functions.yml
to execute the function daily - Deploy once more the function
- Wait till the function is executed and check the logs
ovh-functions logs github_watch
- Install a webserver which will receive 1 POST request for each result I recommend ElasticSearch, but you can also use requestb.in for dev purpose.
- Configure
POST_URL
variable:export POST_URL="https://use:password@elasticsearch:9200/github-watcher/result"
- Deploy the function one more time
/!\ Your webserver must be accessible over the Internet, so please use a basic authentication in the url