Skip to content

Commit 2341a8e

Browse files
committed
github actions: Give ckc results a unique name
s/result.txt/ckc_result.txt/g
1 parent 17cede0 commit 2341a8e

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
@@ -53,7 +53,7 @@ jobs:
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
@@ -74,7 +74,7 @@ jobs:
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

0 commit comments

Comments
 (0)