netlify / git-gateway

A Gateway to Git APIs
MIT License
404 stars 89 forks source link

feat(github): allow commits API for GitHub #53

Closed erezrokah closed 4 years ago

erezrokah commented 4 years ago

- Summary

As a part of https://github.com/netlify/netlify-cms/pull/3494, the CMS reads a specific file author and date using the commits API: https://github.com/netlify/netlify-cms/blob/6d9327c3a9c8be9505dd08613d58d01f8ceab45d/packages/netlify-cms-backend-github/src/API.ts#L584

This API was already partially enabled for commit statues and fully enabled for GitLab.

- Test plan

Tested on a local instance of gotrue and git-gateway.

- Description for the changelog

Feat(github): allow commits API for GitHub

- A picture of a cute animal (not mandatory but encouraged)

image

@mraerino I fixed the animal picture 😄