Skip to content

Commit 904e2f5

Browse files
committed
github actions: Give ckc results a unique name
s/result.txt/ckc_result.txt/g
1 parent b7d7b61 commit 904e2f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
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
@@ -50,7 +50,7 @@ jobs:
5050
fi
5151
5252
# Check for findings - run grep first, capture result
53-
grep -q -v "All referenced commits exist upstream and have no Fixes: tags." ../result.txt
53+
grep -q -v "All referenced commits exist upstream and have no Fixes: tags." ../ckc_result.txt
5454
GREP_EXIT=$?
5555
set -e # Re-enable exit on error
5656
@@ -70,7 +70,7 @@ jobs:
7070
GH_TOKEN: ${{ github.token }}
7171
run: |
7272
if ! gh pr comment ${{ github.event.pull_request.number }} \
73-
--body-file result.txt \
73+
--body-file ckc_result.txt \
7474
--repo ${{ github.repository }}; then
7575
echo "❌ Failed to post check-kernel-commits comment to PR"
7676
exit 1

0 commit comments

Comments
 (0)