kou commented on code in PR #128:
URL: https://github.com/apache/arrow-erlang/pull/128#discussion_r4763887657


##########
.github/workflows/pr_comment.yml:
##########
@@ -18,37 +18,45 @@
 name: PR comment
 
 on: # zizmor: ignore[dangerous-triggers]
-  pull_request_target:
+  workflow_run:
+    workflows: [Docs]
     types:
-      - opened
+      - completed
+  workflow_dispatch:
+    inputs:
+      run_id:
+        description: 'workflow run-id of the Docs workflow which generated the 
message'
+        required: true
 
 permissions:
-  contents: read
+  actions: read
   issues: write
   pull-requests: write
 
 jobs:
   preview-url:
     name: Preview URL
-    if: github.event.pull_request.head.repo.full_name != 'apache/arrow-erlang'

Review Comment:
   Could you check https://github.com/kou/arrow-erlang/actions/runs/43641467308 
as an example?



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