You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@liminal.apache.org by av...@apache.org on 2021/12/15 13:14:04 UTC

[incubator-liminal] branch master updated: Trigger github workflow daily

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

aviemzur pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-liminal.git


The following commit(s) were added to refs/heads/master by this push:
     new 1256fd7  Trigger github workflow daily
1256fd7 is described below

commit 1256fd7892e250c487625b27d4e9032b3e079574
Author: ChethanUK <ch...@outlook.com>
AuthorDate: Wed Dec 15 18:43:55 2021 +0530

    Trigger github workflow daily
    
    Adding cron scheduler unit test to trigger workflow daily
---
 .github/workflows/unittest.yml | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml
index 2a5943f..18d4e9b 100644
--- a/.github/workflows/unittest.yml
+++ b/.github/workflows/unittest.yml
@@ -1,7 +1,16 @@
 name: Running unittest
 
-on: [push]
-
+on:
+  # Trigger the workflow on push or pull request, but only for the master branch
+  push:
+    branches:
+      - master
+  pull_request:
+    branches:
+      - master
+  # Trigger the workflow on cron schedule
+  schedule:
+    - cron: '7 0 * * *'
 jobs:
   unittest:
     runs-on: ubuntu-latest