]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
ci: give a hint about possible fixes for failing reuse lints
authorJörg Behrmann <behrmann@physik.fu-berlin.de>
Tue, 5 Aug 2025 21:28:05 +0000 (23:28 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 6 Aug 2025 19:50:07 +0000 (20:50 +0100)
.github/workflows/ci.yml

index c5718c9ca9b4e9fd6169cbaf470589465280c2cf..5044a7c24b952696e9597a3f12e8a27027e9e400 100644 (file)
@@ -46,7 +46,11 @@ jobs:
       - name: License Checking (reuse)
         run: |
           reuse --version
-          reuse lint
+          if ! reuse lint
+          then
+              echo "Hint: If the above output lists unlicensed files tracked in git you might need to adjust REUSE.toml"
+              exit 1
+          fi
 
       - name: Type Checking (mypy)
         run: |