Check whether a submodule is on default branch (usually master), and report a github commit status.
Config file .submodule_checker.json
:
[
"/fqdns",
"/hexo-theme-next",
"/dayjs"
]
Put each submodule path (relative to root of current project) to a json array.
This will check your submodule on default branch (master by default), if you would like to change default branch, please visit: https://help.github.com/articles/setting-the-default-branch/ .
Submodule Checker is now providing a Github App, you can install it here: https://github.com/apps/submodule-checker .
Please make sure your submodule project is also installed, otherwise commits cannot be compared.