aboutcode-org / aboutcode-org/scancode-licensedb

Daily update should NOT fail if there are no new license

未關閉
#45 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Makefile
星號
67
分支
15
PR 合併指標
30 天內沒有已合併 PR

描述

It should complete normally and print a success message instead and these error should NOT be an error:

https://github.com/nexB/scancode-licensedb/actions/runs/6669530146/job/18127506330
```

2023-10-27T16:04:25.4888565Z Rebuilding the license index...
2023-10-27T16:06:11.1360592Z Done.
2023-10-27T16:06:13.2409377Z Traceback (most recent call last):
2023-10-27T16:06:13.2510618Z File "./etc/scripts/check_commit.py", line 67, in
2023-10-27T16:06:13.2511546Z cli()
2023-10-27T16:06:13.2513520Z File "/home/runner/work/scancode-licensedb/scancode-licensedb/venv/lib/python3.8/site-packages/click/core.py", line 1157, in __call__
2023-10-27T16:06:13.2514855Z return self.main(*args, **kwargs)
2023-10-27T16:06:13.2516288Z File "/home/runner/work/scancode-licensedb/scancode-licensedb/venv/lib/python3.8/site-packages/click/core.py", line 1078, in main
2023-10-27T16:06:13.2517493Z rv = self.invoke(ctx)
2023-10-27T16:06:13.2518832Z File "/home/runner/work/scancode-licensedb/scancode-licensedb/venv/lib/python3.8/site-packages/click/core.py", line 1434, in invoke
2023-10-27T16:06:13.2520269Z return ctx.invoke(self.callback, **ctx.params)
2023-10-27T16:06:13.2521781Z File "/home/runner/work/scancode-licensedb/scancode-licensedb/venv/lib/python3.8/site-packages/click/core.py", line 783, in invoke
2023-10-27T16:06:13.2522961Z return __callback(*args, **kwargs)
2023-10-27T16:06:13.2523603Z File "./etc/scripts/check_commit.py", line 59, in cli
2023-10-27T16:06:13.2524541Z raise NoNewCommitException(msg)
2023-10-27T16:06:13.2526326Z __main__.NoNewCommitException: There are no new commits in scancode-toolkit develop after b1a3620e89.Aborting LicenseDB update.
2023-10-27T16:06:13.2547204Z ##[error]Process completed with exit code 1.
```

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

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

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