You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemds.apache.org by ja...@apache.org on 2021/07/08 17:19:52 UTC

[systemds] branch master updated: [SYSTEMDS-3053] Do not run Action workflow for doc changes (#1339)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new bae1506  [SYSTEMDS-3053] Do not run Action workflow for doc changes (#1339)
bae1506 is described below

commit bae1506443b9c9576716291fc3cd72552a1359b8
Author: Janardhan Pulivarthi <j1...@protonmail.com>
AuthorDate: Thu Jul 8 22:49:45 2021 +0530

    [SYSTEMDS-3053] Do not run Action workflow for doc changes (#1339)
    
    Refer:
    
    https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#example-ignoring-paths
---
 .github/workflows/applicationTests.yml |  3 +++
 .github/workflows/build.yml            | 12 ++++++++++--
 .github/workflows/componentTests.yml   | 11 ++++++++++-
 .github/workflows/documentation.yml    | 11 ++++++++++-
 .github/workflows/federatedPython.yml  |  3 +++
 .github/workflows/functionsTests.yml   |  3 +++
 .github/workflows/python.yml           |  3 +++
 7 files changed, 42 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/applicationTests.yml b/.github/workflows/applicationTests.yml
index 50061e9..f7c3ae2 100644
--- a/.github/workflows/applicationTests.yml
+++ b/.github/workflows/applicationTests.yml
@@ -26,6 +26,9 @@ on:
     branches:
       - master
   pull_request:
+    paths-ignore:
+      - 'docs/**'
+      - '*.md'
     branches:
       - master
 
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 7263c8f..85255cc 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -21,8 +21,16 @@
 
 name: Build
 
-on: [push, pull_request]
-
+on:
+  push:
+    branches:
+      - master
+  pull_request:
+    paths-ignore:
+      - 'docs/**'
+      - '*.md'
+    branches:
+      - master
 jobs:
   build:
     runs-on: ${{ matrix.os }}
diff --git a/.github/workflows/componentTests.yml b/.github/workflows/componentTests.yml
index 19a5961..25a49c0 100644
--- a/.github/workflows/componentTests.yml
+++ b/.github/workflows/componentTests.yml
@@ -21,7 +21,16 @@
 
 name: Component Test
 
-on: [push, pull_request]
+on:
+  push:
+    branches:
+      - master
+  pull_request:
+    paths-ignore:
+      - 'docs/**'
+      - '*.md'
+    branches:
+      - master
 
 jobs:
   componentTests:
diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml
index f591f8a..e38c69e 100644
--- a/.github/workflows/documentation.yml
+++ b/.github/workflows/documentation.yml
@@ -21,7 +21,16 @@
 
 name: Documentation
 
-on: [push, pull_request]
+on:
+  push:
+    branches:
+      - master
+  pull_request:
+    paths-ignore:
+      - 'docs/**'
+      - '*.md'
+    branches:
+      - master
 
 jobs:
   documentation1:
diff --git a/.github/workflows/federatedPython.yml b/.github/workflows/federatedPython.yml
index ed192d0..6c0ed8d 100644
--- a/.github/workflows/federatedPython.yml
+++ b/.github/workflows/federatedPython.yml
@@ -26,6 +26,9 @@ on:
     branches:
       - master
   pull_request:
+    paths-ignore:
+      - 'docs/**'
+      - '*.md'
     branches:
       - master
 
diff --git a/.github/workflows/functionsTests.yml b/.github/workflows/functionsTests.yml
index a121ff2..ae77dd4 100644
--- a/.github/workflows/functionsTests.yml
+++ b/.github/workflows/functionsTests.yml
@@ -26,6 +26,9 @@ on:
     branches:
       - master
   pull_request:
+    paths-ignore:
+      - 'docs/**'
+      - '*.md'
     branches:
       - master
 
diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml
index a34a757..1db690e 100644
--- a/.github/workflows/python.yml
+++ b/.github/workflows/python.yml
@@ -26,6 +26,9 @@ on:
     branches:
       - master
   pull_request:
+    paths-ignore:
+      - 'docs/**'
+      - '*.md'
     branches:
       - master