gitlab-ci: Ensure that all commits on a branch are submodule-linted

Authored by bgamari on Jun 8 2019, 3:44 PM.

Description

gitlab-ci: Ensure that all commits on a branch are submodule-linted

The previous commit reworked things such that the submodule linter would
only run on the head commit. However, the linter only checks the
submodules which are touched by the commits it is asked to lint.
Consequently it would be possible for a bad submodule to sneak through.

Thankfully, we can use the handy CI_COMMIT_BEFORE_SHA attribute to
find the base commit of the push.

Details

Committed
bgamariJun 8 2019, 3:44 PM
Parents
rGHC4a72259d6dcc: gitlab-ci: Fix submodule linting of commits
Branches
Unknown
Tags
Unknown