File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4040 working-directory : kernel-src-tree-tools
4141 run : |
4242 set +e # Don't exit on error, we want to capture the output
43- python3 check_kernel_commits.py --repo .. --pr_branch "${{ github.head_ref }}" --base_branch "${{ github.base_ref }}" --markdown --check-cves | tee ../result .txt
43+ python3 check_kernel_commits.py --repo .. --pr_branch "${{ github.head_ref }}" --base_branch "${{ github.base_ref }}" --markdown --check-cves | tee ../ckc_result .txt
4444 EXIT_CODE=$?
4545
4646 # Check if the script failed
5353 # 1. Verify the success message exists
5454 # 2. If it exists, check if there are any OTHER lines (which would indicate issues)
5555 # 3. If success message doesn't exist, that's also a finding
56- if grep -q "All referenced commits exist upstream and have no Fixes: tags." ../result .txt; then
56+ if grep -q "All referenced commits exist upstream and have no Fixes: tags." ../ckc_result .txt; then
5757 # Success message found, check if there are any other lines
5858 LINE_COUNT=$(wc -l < ../ckc_result.txt)
5959 if [ "$LINE_COUNT" -gt 1 ]; then
7474 GH_TOKEN : ${{ github.token }}
7575 run : |
7676 if ! gh pr comment ${{ github.event.pull_request.number }} \
77- --body-file result .txt \
77+ --body-file ckc_result .txt \
7878 --repo ${{ github.repository }}; then
7979 echo "❌ Failed to post check-kernel-commits comment to PR"
8080 exit 1
You can’t perform that action at this time.
0 commit comments