Instead of checking for the licenses in the misc step, add a separate
job that uses the upstream provided image that has reuse tool installed
and run `reuse lint` from the separate job.
(cherry picked from commit
dbcff56043e6fbda4471a398466ae81d974ab28a)
- util/check-cocci
- if test "$(git status --porcelain | grep -Ev '\?\?' | wc -l)" -gt "0"; then git status --short; exit 1; fi
+reuse:
+ <<: *precheck_job
+ needs: []
+ image:
+ name: docker.io/fsfe/reuse:latest
+ entrypoint: [""]
+ script:
+ - reuse lint
+
danger:
<<: *precheck_job
needs: []