You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am writing a github-actions.yml file to deploy a CI pipeline to test and build my code. One of the tests I run is uv run python -m reuse lint to check the code licenses in my repo. On my local repo, this commands runs fine and only inspect the files not declared in the .gitignore file. But when it is deployed on GitHub Actions, it inspects artifacts, cache files, and files in Python .venv even though I have declared them in the .gitignore file.
The weird thing is that when I tried my pipeline using Gitlab instead, it didn't have any problem at all. I tried solving this by overriding all files in those folders inside the REUSE.toml file, but that didn't work.
Does anyone know why this happens, even though the doc said that the files declared in .gitignore wouldn't be checked?
Here are some of the errors:
'0BSD' found in:
* /__w/sensorium_ssc/sensorium_ssc/.uv_cache/archive-v0/NJ5KClVwQ7p2VFiCK_K4g/mypyc/lib-rt/pythoncapi_compat.h
* /__w/sensorium_ssc/sensorium_ssc/.venv/lib/python3.10/site-packages/mypyc/lib-rt/pythoncapi_compat.h
'BSD-2-Clause' found in:
* /__w/sensorium_ssc/sensorium_ssc/.uv_cache/archive-v0/YkhwO4bnZE5GchuE62ERD/boolean/__init__.py
* /__w/sensorium_ssc/sensorium_ssc/.uv_cache/archive-v0/YkhwO4bnZE5GchuE62ERD/boolean/boolean.py
* /__w/sensorium_ssc/sensorium_ssc/.uv_cache/archive-v0/YkhwO4bnZE5GchuE62ERD/boolean/test_boolean.py
* ...
* # MISSING COPYRIGHT AND LICENSING INFORMATION
The following files have no copyright and licensing information:
* /__w/sensorium_ssc/sensorium_ssc/src/sensorium.egg-info/PKG-INFO
* /__w/sensorium_ssc/sensorium_ssc/src/sensorium.egg-info/SOURCES.txt
I am writing a
github-actions.yml
file to deploy a CI pipeline to test and build my code. One of the tests I run isuv run python -m reuse lint
to check the code licenses in my repo. On my local repo, this commands runs fine and only inspect the files not declared in the.gitignore
file. But when it is deployed on GitHub Actions, it inspects artifacts, cache files, and files in Python.venv
even though I have declared them in the.gitignore
file.The weird thing is that when I tried my pipeline using Gitlab instead, it didn't have any problem at all. I tried solving this by overriding all files in those folders inside the
REUSE.toml
file, but that didn't work.Does anyone know why this happens, even though the doc said that the files declared in
.gitignore
wouldn't be checked?Here are some of the errors:
Here is my
github-actions.yml
file:And here is my
.gitignore
:The text was updated successfully, but these errors were encountered: