From b526d8d8f90d7bab1f55e67ba5bf5063bd3e689d Mon Sep 17 00:00:00 2001 From: Erik Jaegervall Date: Mon, 1 Jul 2024 09:29:57 +0200 Subject: [PATCH] Add cron to ensure-lifecyle and check-license Projects/Repos may not always specify dependencies that are constant over time. As an example, devcontainer-base-images v0.3 is not constant over time as it may be patched. By using a cron job it is possible to detect if there are any changes that must be reflected in the repository, for example by updating workflows or NOTICE file. Cron interval identical to interval in https://github.com/eclipse-velocitas/vehicle-app-cpp-template/blob/main/.github/workflows/check-devcontainer.yml --- src/common/workflows/check-licenses.yml | 2 ++ src/common/workflows/ensure-lifecycle.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/common/workflows/check-licenses.yml b/src/common/workflows/check-licenses.yml index 33d23ee..6e48039 100644 --- a/src/common/workflows/check-licenses.yml +++ b/src/common/workflows/check-licenses.yml @@ -25,6 +25,8 @@ on: pull_request: branches: - main + schedule: + - cron: "0 4 * * *" jobs: check-licenses: diff --git a/src/common/workflows/ensure-lifecycle.yml b/src/common/workflows/ensure-lifecycle.yml index 859cb89..cf93e15 100644 --- a/src/common/workflows/ensure-lifecycle.yml +++ b/src/common/workflows/ensure-lifecycle.yml @@ -22,6 +22,8 @@ on: pull_request: branches: - main + schedule: + - cron: "0 4 * * *" jobs: check-sync: