aboutcode-org / aboutcode-org/scancode-toolkit

Dcoument CICD integration

未關閉
#2,898 4 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視
documentation easy must have Priority: medium
主要語言
Python
星號
2.6k
分支
791
平均合併
1 天 12 小時
30 天內合併 PR
5

描述

Do we have an example of how to integrate Scancode in CICD pipeline. My use case is that I have an allowed list of licenses that I have defined as license policy and pass it to scan code --license-policy. It adds a new tag as well. But I cannot figure out how to easily identify which files do not match my license policy and extract them from the output. The idea is to extract the files that have unapproved licenses, fail the build, submit the output json for violating files to a central logging solution like ElasticSearch. Not sure how to go about extracting the violating files details in a nice way and failing the build.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。