mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Improve filelist filtering to check only files that are interested for this (#4919)
Signed-off-by: Igor <igor@armbian.com>
This commit is contained in:
@@ -42,5 +42,7 @@ jobs:
|
|||||||
- name: Check kernel config for security issues
|
- name: Check kernel config for security issues
|
||||||
run: |
|
run: |
|
||||||
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
|
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
|
||||||
kconfig-hardened-check/bin/kconfig-hardened-check -m show_fail -c $file | sed -e 's/^/ /' >> $GITHUB_STEP_SUMMARY
|
if [[ "${file}" = config/kernel/*.config ]]; then
|
||||||
|
kconfig-hardened-check/bin/kconfig-hardened-check -m show_fail -c $file | sed -e 's/^/ /' >> $GITHUB_STEP_SUMMARY
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user