imbajin commented on code in PR #47:
URL: 
https://github.com/apache/incubator-hugegraph-ai/pull/47#discussion_r1624273049


##########
.github/workflows/black.yml:
##########
@@ -0,0 +1,17 @@
+name: "Black Code Formatter"
+
+on:
+  push:
+    branches:
+      - 'release-*'
+  pull_request:
+
+jobs:
+  lint:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v4
+      - uses: psf/black@stable

Review Comment:
   Come to think of it, ASF/Apache seems to have some rules about external 
**action**, and those don't meet the requirements may be banned 🚫 (I found ↓)
   
   <img width="1135" alt="image" 
src="https://github.com/apache/incubator-hugegraph-ai/assets/17706099/74cb7163-0e57-406f-8d29-6376529a7b36";>
   
   https://infra.apache.org/github-actions-policy.html
   
   (maybe we could search some apache's python project that use the same 
action/step?)
   
   ---
   
   Perhaps this is also the reason why we didn't see Black in our PR CI? (But 
it works fine in ur personal repo ↓)
   
   <img width="761" alt="image" 
src="https://github.com/apache/incubator-hugegraph-ai/assets/17706099/8cd01c9a-4203-4f5d-a4ee-28b45f67d812";>
   



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