You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/10/11 11:05:24 UTC

[GitHub] [spark-docker] Yikun commented on a diff in pull request #5: [SPARK-40746][INFRA] Switch to`pull_request_target` and fix workflow

Yikun commented on code in PR #5:
URL: https://github.com/apache/spark-docker/pull/5#discussion_r992176141


##########
.github/workflows/build_3.3.0.yaml:
##########
@@ -20,15 +20,18 @@
 name: "Build and Test (3.3.0)"
 
 on:
-  pull_request:
+  pull_request_target:
     branches:
       - 'master'
     paths:
-      - '3.3.0/'
+      - '3.3.0/**'
+      - '.github/workflows/build_3.3.0.yaml'
       - '.github/workflows/main.yml'
 
 jobs:
   run-build:
+    permissions:
+      packages: write

Review Comment:
   It's needed see also: https://github.com/apache/spark/pull/38145



-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org