Add cron in the workflows

Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
divyansh42 2021-04-01 15:53:47 +05:30
parent b5dbf66601
commit 002092527f
3 changed files with 7 additions and 0 deletions

View file

@ -6,6 +6,8 @@ on:
pull_request: pull_request:
paths: paths:
-'**.md' -'**.md'
schedule:
- cron: '0 0 * * *' # every day at midnight
jobs: jobs:
markdown-link-check: markdown-link-check:

View file

@ -2,6 +2,9 @@ name: Multiple container CLI build tests
on: on:
push: push:
workflow_dispatch: workflow_dispatch:
schedule:
- cron: '0 0 * * *' # every day at midnight
env: env:
IMAGE_NAME: myimage IMAGE_NAME: myimage
IMAGE_TAG: v1 IMAGE_TAG: v1

View file

@ -5,6 +5,8 @@ name: Test Build and Push
on: on:
push: push:
workflow_dispatch: workflow_dispatch:
schedule:
- cron: '0 0 * * *' # every day at midnight
env: env:
PROJECT_DIR: spring-petclinic PROJECT_DIR: spring-petclinic