Skip to content

A live bird collage card for your Home Assistant dashboard.

CI: ignore the HACS license check (NonCommercial CC is undetectable) (#57)

Adam Oberley6a2dc77b70b6
diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml
index d096d8a3..19fc3fcb 100644
--- a/.github/workflows/validate.yml
+++ b/.github/workflows/validate.yml
@@ -1,6 +1,13 @@
# HACS validation - the same checks the default-store inclusion runs.
-# Required to pass (no errors, no ignores) before submitting to
-# hacs/default; the schedule keeps catching regressions after.
+# Required to pass before submitting to hacs/default; the schedule keeps
+# catching regressions after.
+#
+# One check is ignored: `license`. The project is CC-BY-NC-SA-4.0, and
+# GitHub's license detector (licensee) does not recognize NonCommercial
+# Creative Commons licenses at all (it only knows cc-by-4.0, cc-by-sa-4.0,
+# cc0-1.0), so it always reports NOASSERTION no matter how LICENSE is
+# structured. The ignore is the only way to keep this workflow green without
+# relicensing away the NonCommercial term.
name: Validate
on:
@@ -20,6 +27,9 @@ jobs:
uses: hacs/action@main
with:
category: plugin
+ # See top-of-file note: NonCommercial CC licenses are undetectable
+ # by GitHub's licensee, so the license check can never pass.
+ ignore: license
build-and-test:
name: Build sync & tests