Skip to content
Snippets Groups Projects
Commit b4c64ba8 authored by q3k's avatar q3k
Browse files

ci: notify user when branch is too far off master to be analyzed

parent 7a6b17a6
No related branches found
No related tags found
1 merge request!68ci: notify user when branch is too far off master to be analyzed
Pipeline #1687 passed
......@@ -22,6 +22,7 @@ lint:
- curl --fail https://annoyatron-prod.q3k.org/ping/mr?mr=${CI_MERGE_REQUEST_IID}
- git remote rm card10 || true # old gitlab runners might have this remote.
- git fetch https://git.card10.badge.events.ccc.de/card10/firmware.git master:card10/master
- git merge-base --fork-point card10/master || ( echo "Your change needs to be rebased against current master."; exit 1; )
- git diff --name-only $(git merge-base --fork-point card10/master)...HEAD | xargs tools/code-style.sh
- git diff --exit-code
only:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment