Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Disable knip for custom projects (#2224)

Koena13b91930036
diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml
index df67ebfe9..96e52d9fa 100644
--- a/.github/workflows/ci_cd.yml
+++ b/.github/workflows/ci_cd.yml
@@ -258,7 +258,7 @@ jobs:
run: yarn --immutable
- name: Check UI dependencies
- if: steps.ui-files-changed.outputs.any_modified == 'true'
+ if: steps.ui-files-changed.outputs.any_modified == 'true' && steps.is_main_repo.outputs.value == 'true'
run: npx knip -c ui/knip.jsonc
- name: Check deployment build.gradle