AlbumenJ commented on code in PR #13489:
URL: https://github.com/apache/dubbo/pull/13489#discussion_r1441760336


##########
.github/workflows/check-format.yml:
##########
@@ -0,0 +1,20 @@
+name: Check for formatting
+
+on:
+  push:
+    branches: [ "**" ]
+
+jobs:
+  check-format:
+    name: Check if code needs formatting
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v4
+      - name: Setup Maven
+        uses: actions/setup-java@v4
+        with:
+          java-version: 21
+          distribution: zulu
+      - name: Check if code aligns with code style
+        run: mvn spotless:check

Review Comment:
   Can we just log out something to the `Workflow Summary`?
   Like this
   
![image](https://github.com/apache/dubbo/assets/9292748/af83c3d6-a44a-42b6-9419-0ce205ae930a)
   
   
   After that, we can make this job as the first job for pull requests and make 
sure that no other message will influence contributors.



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to