Preview required commit signatures for Protected Branches API

Protected Branches API now has a setting for requiring signed commits. We're adding three new endpoints for managing this setting. You can learn more about commit signing here.

New endpoints

Get required signatures of protected branches

Add required signatures of protected branches

Remove required signatures of protected branches

How can I try it?

To access this functionality during the preview period, you’ll need to provide the following custom media type in the Accept header:

application/vnd.github.zzzax-preview+json

Take a look at the docs here. If you have any questions, please get in touch.