mumrah commented on code in PR #16948:
URL: https://github.com/apache/kafka/pull/16948#discussion_r1725768946


##########
.github/workflows/pr.yml:
##########
@@ -47,6 +50,22 @@ jobs:
       - name: Compile and validate
         # Publish build scans for now. This will only work on PRs from 
apache/kafka, not public forks.
         run: ./gradlew --build-cache --info --scan check -x test
+      - name: Archive check reports
+        if: always()
+        uses: actions/upload-artifact@v4
+        with:
+          name: check-reports-${{ matrix.java }}
+          path: |
+            **/build/**/*.html
+          if-no-files-found: ignore
+      - name: Annotate checkstyle errors
+        if: ${{ failure() && matrix.java == '21' }}  # Avoid duplicate 
annotations, only process java 21
+        run: python .github/scripts/checkstyle.py
+        env:
+          GITHUB: 1
+          GITHUB_WORKSPACE: ${{ github.workspace }}
+          GITHUB_REPOSITORY: ${{ github.repository }}

Review Comment:
   Ah, that's left over from older version. Good catch!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to