You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sedona.apache.org by ji...@apache.org on 2023/12/13 03:42:55 UTC

(sedona) branch master updated: [SEDONA-339] Skip irrelevant GitHub actions (#1143)

This is an automated email from the ASF dual-hosted git repository.

jiayu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sedona.git


The following commit(s) were added to refs/heads/master by this push:
     new 6ac52360b [SEDONA-339] Skip irrelevant GitHub actions (#1143)
6ac52360b is described below

commit 6ac52360b7cf7fc771a3785456cb35d6ae4d71b0
Author: Jia Yu <ji...@apache.org>
AuthorDate: Tue Dec 12 19:42:50 2023 -0800

    [SEDONA-339] Skip irrelevant GitHub actions (#1143)
---
 .github/workflows/docs.yml             | 10 ++++++++++
 .github/workflows/example.yml          |  6 +++++-
 .github/workflows/java.yml             | 16 ++++++++++++++++
 .github/workflows/python-extension.yml | 12 ++++++++++++
 .github/workflows/python-wheel.yml     | 12 ++++++++++++
 .github/workflows/python.yml           | 12 ++++++++++++
 .github/workflows/r.yml                | 12 ++++++++++++
 7 files changed, 79 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index a13260c82..12d2351da 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -3,9 +3,19 @@ on:
   push:
     branches:
       - master
+    paths:
+      - 'docs/**'
+      - 'docs-overrides/**'
+      - 'mkdocs.yml'
+      - 'R/**'
   pull_request:
     branches:
       - '*'
+    paths:
+      - 'docs/**'
+      - 'docs-overrides/**'
+      - 'mkdocs.yml'
+      - 'R/**'
 
 jobs:
   build:
diff --git a/.github/workflows/example.yml b/.github/workflows/example.yml
index 0009f7362..08c7bbdc2 100644
--- a/.github/workflows/example.yml
+++ b/.github/workflows/example.yml
@@ -3,10 +3,14 @@ on:
   push:
     branches:
       - master
+    paths:
+      - 'examples/**'
   pull_request:
     branches:
       - '*'
-      
+    paths:
+      - 'examples/**'
+
 jobs:
   build:
 
diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml
index ec915beac..f8c005bcd 100644
--- a/.github/workflows/java.yml
+++ b/.github/workflows/java.yml
@@ -4,9 +4,25 @@ on:
   push:
     branches:
       - master
+    paths:
+      - 'common/**'
+      - 'spark/**'
+      - 'spark-shaded/**'
+      - 'flink/**'
+      - 'flink-shaded/**'
+      - 'snowflake/**'
+      - 'pom.xml'
   pull_request:
     branches:
       - '*'
+    paths:
+      - 'common/**'
+      - 'spark/**'
+      - 'spark-shaded/**'
+      - 'flink/**'
+      - 'flink-shaded/**'
+      - 'snowflake/**'
+      - 'pom.xml'
 
 env:
   MAVEN_OPTS: -Dmaven.wagon.httpconnectionManager.ttlSeconds=60
diff --git a/.github/workflows/python-extension.yml b/.github/workflows/python-extension.yml
index 89511836e..319313e82 100644
--- a/.github/workflows/python-extension.yml
+++ b/.github/workflows/python-extension.yml
@@ -4,9 +4,21 @@ on:
   push:
     branches:
       - master
+    paths:
+      - 'common/**'
+      - 'spark/**'
+      - 'spark-shaded/**'
+      - 'pom.xml'
+      - 'python/**'
   pull_request:
     branches:
       - '*'
+    paths:
+      - 'common/**'
+      - 'spark/**'
+      - 'spark-shaded/**'
+      - 'pom.xml'
+      - 'python/**'
       
 jobs:
   build:
diff --git a/.github/workflows/python-wheel.yml b/.github/workflows/python-wheel.yml
index d40506af8..28aa96286 100644
--- a/.github/workflows/python-wheel.yml
+++ b/.github/workflows/python-wheel.yml
@@ -4,9 +4,21 @@ on:
   push:
     branches:
       - master
+    paths:
+      - 'common/**'
+      - 'spark/**'
+      - 'spark-shaded/**'
+      - 'pom.xml'
+      - 'python/**'
   pull_request:
     branches:
       - '*'
+    paths:
+      - 'common/**'
+      - 'spark/**'
+      - 'spark-shaded/**'
+      - 'pom.xml'
+      - 'python/**'
       
 jobs:
   build:
diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml
index 5376fe4c1..69e460e07 100644
--- a/.github/workflows/python.yml
+++ b/.github/workflows/python.yml
@@ -4,9 +4,21 @@ on:
   push:
     branches:
       - master
+    paths:
+      - 'common/**'
+      - 'spark/**'
+      - 'spark-shaded/**'
+      - 'pom.xml'
+      - 'python/**'
   pull_request:
     branches:
       - '*'
+    paths:
+      - 'common/**'
+      - 'spark/**'
+      - 'spark-shaded/**'
+      - 'pom.xml'
+      - 'python/**'
 
 env:
   MAVEN_OPTS: -Dmaven.wagon.httpconnectionManager.ttlSeconds=60
diff --git a/.github/workflows/r.yml b/.github/workflows/r.yml
index a7caa9894..cc7707ed0 100644
--- a/.github/workflows/r.yml
+++ b/.github/workflows/r.yml
@@ -4,9 +4,21 @@ on:
   push:
     branches:
       - master
+    paths:
+      - 'common/**'
+      - 'spark/**'
+      - 'spark-shaded/**'
+      - 'pom.xml'
+      - 'R/**'
   pull_request:
     branches:
       - '*'
+    paths:
+      - 'common/**'
+      - 'spark/**'
+      - 'spark-shaded/**'
+      - 'pom.xml'
+      - 'R/**'
 
 env:
   MAVEN_OPTS: -Dmaven.wagon.httpconnectionManager.ttlSeconds=60