Check whether a submodule is on default branch (usually master)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
keys
src
.babelrc
.dockerignore
.editorconfig
.gcloudignore
.gitignore
.submodule_checker.json
.travis.yml
Dockerfile
LICENSE
README.md
azure-pipelines.yml
index.js
package.json

README.md

Submodule Checker

Greenkeeper badge

中文

Check whether a submodule is on default branch (usually master), and report a github commit status.

image

Config (in your repos)

Add config file

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/ .

Install Github APP

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.