Closed mysterywolf closed 1 year ago
https://github.com/RT-Thread/rt-thread/blob/master/.github/workflows/static_code_analysis.yml
添加对.ignore_format.yml 路径检查,如果在ignore路径中,就不去启用静态检查
遍历一下ignore_format.yml文件找到所有需要忽略的文件夹,搞个大数组,然后过滤~
比如: https://github.com/RT-Thread/rt-thread/blob/master/bsp/bouffalo_lab/libraries/bl_mcu_sdk/.ignore_format.yml
dir_path:
参考一下 https://github.com/RT-Thread/rt-thread/blob/master/tools/file_check.py