Skip to content

Commit 5a537d5

Browse files
workflows: Fix compatibility with check_compliance.py
Since commit f8a5ebfd2, check_compliance.py run "git grep CONFIG_" in boards/ and soc/ directories. This command will fail if no match is found. This failure prevent check_compliance.py to run properly. The workaround is to add the word "CONFIG_BOARD" (any existing config option will work) in a random file in boards/ and soc/ Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
1 parent f859eef commit 5a537d5

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

boards/.gitignore

Whitespace-only changes.

boards/Kconfig

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Copyright (c) 2024 Silicon Laboratories Inc.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
# Because of f8a5ebfd2, check_compliance.py absolutely wants to match at least
5+
# one CONFIG option. So keep this token: CONFIG_BOARD
6+
7+
# This empty file also force git to keep boards/ directory

soc/Kconfig

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# Copyright (c) 2024 Silicon Laboratories Inc.
22
# SPDX-License-Identifier: Apache-2.0
33

4+
# Because of f8a5ebfd2, check_compliance.py absolutely wants to match at least
5+
# one CONFIG option. So keep this token: CONFIG_BOARD
6+
47
rsource "*/Kconfig"

0 commit comments

Comments
 (0)