fsfe / reuse-action

A GitHub action to check repositories for REUSE compliance
https://reuse.software
55 stars 8 forks source link

Started failing on existing project: could not find supported VCS #17

Closed rpavlik closed 1 year ago

rpavlik commented 1 year ago

I've been using this for a while, but recently I've started seeing "reuse.project - WARNING - could not find supported VCS" at the top of my results, then it completely fails to use the gitignore (as you'd expect). Sample is here: https://github.com/rpavlik/PrettyRegistryXml/runs/7679546043?check_suite_focus=true with commit https://github.com/rpavlik/PrettyRegistryXml/pull/14/commits/142e98771320544f599e2ccd7e0bc23c30399181 (trying to fix it)

if I put the REUSE check before I make any gitignored artifacts, it works once again, but this definitely used to work in the past.

mxmehl commented 1 year ago

Indeed, the environment does not seem to be a valid Git repo. I cannot access older action logs to compare, but will investigate.

mxmehl commented 1 year ago

This has been fixed. It was caused by the Git directory being detected as unsafe. The updated action marks it as safe again.

Background: https://github.blog/2022-04-12-git-security-vulnerability-announced/

rpavlik commented 1 year ago

thanks!