FOSSASIA
Website: Create a service for Github that comments a helpful demo url for the GCI15 FOSSASIA student site
Background
Contributors add new features to FOSSASIA GCI 2015 website through pull requests. Many have there own fork at http:// .github.io/gci15.fossasia.org. Its easier to follow if the specific link is available so others can get a preview of the new feature. Please use the Github API to create a service that adds this link as a comment to the PR itself.
Steps
- Learn about Github webhooks
- Go ahead and create a webhook for your own fork and test it locally
- Above guide is for ruby, so using ruby will be easier, but you can use a language/technology of your choice.
- Figure out the necessary webhook type
- Create the payload need for the
create comment
endpoint
Outcome
- A script that runs a server with an endpoint working as a Github webhook and calling Github API to create the desired comment.
- The script is hosted on Github.
Task tags
Students who completed this task
Jason