Skip to content

Commit e1033d2

Browse files
committed
github actions: validate-kernel-commits: Add --check-cves
This causes check_kernel_commits.py to check the kernel's vulns database to ensure the CVEs referenced in the commit are correct, check for missing CVE references, and to add CVE references to suggested upstream bugfixes
1 parent f461f6e commit e1033d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/validate-kernel-commits.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Run upstream fixes check
3939
id: check-kernel-commits
4040
run: |
41-
python3 check_kernel_commits.py --repo . --pr_branch "${{ github.head_ref }}" --base_branch "${{ github.base_ref }}" --markdown | tee result.txt
41+
python3 check_kernel_commits.py --repo . --pr_branch "${{ github.head_ref }}" --base_branch "${{ github.base_ref }}" --markdown --check-cves | tee result.txt
4242
# Save non-empty results for PR comment
4343
if grep -q -v "All referenced commits exist upstream and have no Fixes: tags." result.txt; then
4444
echo "has_findings=true" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)