Replaced duplicate code in other APIs with external functions. Moved the functions to the top for readability
Replaced duplicate code in other APIs with external functions. Moved the functions to the top for readability

taskcluster/taskcluster-github