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:
paths:
-'**.md'
schedule:
- cron: '0 0 * * *' # every day at midnight
jobs:
markdown-link-check:

View file

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

View file

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