ontodev / droid

DROID Reminds us that Ordinary Individuals can be Developers
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Support default repository branch names other than 'master' and 'main' #130

Closed lmcmicu closed 1 year ago

lmcmicu commented 1 year ago

Currently, DROID expects the default branch name for a repo to be either "master" or "main". Instead, we should use GitHub's API to retrieve this information (see https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#get-a-repository) when the configuration for a given project is read into memory.