HyukjinKwon commented on code in PR #36924:
URL: https://github.com/apache/spark/pull/36924#discussion_r901519239


##########
.github/actions/sync-fork-with-upstream/action.yml:
##########
@@ -0,0 +1,19 @@
+name: 'Sync sources'
+author: 'Apache Spark'
+description: 'A composite GitHub Action that syncs fork branch with Spark 
master'
+
+runs:
+  using: 'composite'
+  steps:
+  - name: Sync the current branch with the latest master in Apache Spark
+    if: github.repository != 'apache/spark'
+    shell: bash
+    run: |
+      echo "APACHE_SPARK_REF=$(git rev-parse HEAD)" >> $GITHUB_ENV
+      git fetch https://github.com/$GITHUB_REPOSITORY.git 
${GITHUB_REF#refs/heads/}
+      git -c user.name='Apache Spark Test Account' -c 
user.email='[email protected]' merge --no-commit --progress --squash 
FETCH_HEAD
+      git -c user.name='Apache Spark Test Account' -c 
user.email='[email protected]' commit -m "Merged commit" --allow-empty
+
+branding:
+  icon: 'check-circle'

Review Comment:
   quick question: what is this?



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