HACS license validation reports NOASSERTION for SPDX-listed PolyForm-Noncommercial-1.0.0
Describe the issue
Repository
zookzon/Smart-Remote-Control
HACS default submission
https://github.com/hacs/default/pull/11367
Issue
The HACS default validation fails with:
<Validation license> failed: The repository license could not be identified (SPDX: NOASSERTION)
The repository uses PolyForm Noncommercial 1.0.0, whose official SPDX identifier is:
PolyForm-Noncommercial-1.0.0
The repository contains the full PolyForm Noncommercial 1.0.0 license text in the root LICENSE file.
The HACS default validation reports 1/9 checks failed; the license identification check is the failure.
This differs from #5360 because that issue concerns a custom non-SPDX license. PolyForm Noncommercial 1.0.0 is listed in the SPDX License List, but it is still being reported as NOASSERTION.
The repository's own HACS workflow currently uses ignore: license as a temporary workaround because GitHub/HACS reports this SPDX-listed license as NOASSERTION.
However, I understand from #5360 that this workaround does not satisfy validation for a new HACS default submission, and PR #11367 therefore still fails the license check.
I do not want to bypass the HACS default validation or change the project's license. I would like to keep PolyForm Noncommercial 1.0.0 (PolyForm-Noncommercial-1.0.0).
Could you please clarify whether PolyForm-Noncommercial-1.0.0 is intended to be accepted by HACS default validation and, if so, how the repository should expose/configure this SPDX license so that the HACS Action identifies it instead of returning NOASSERTION?
If this SPDX-listed license is intentionally not accepted for HACS default submissions, please confirm that as well.
Related issue: #5360
Link to action run
https://github.com/hacs/default/actions/runs/36448740824/job/109017845197?pr=11367
Link to action configuration
https://github.com/zookzon/Smart-Remote-Control/blob/main/.github/workflows/hacs.yml
Checklist
- I have filled out the issue template to the best of my ability.
- I have read https://hacs.xyz/docs/help/issues/
- This issue is related to the HACS action.
- This is a bug and not a feature request.
- This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
Source: hacs/integration