Skip to content

Commit

Permalink
Add cron to ensure-lifecyle and check-license
Browse files Browse the repository at this point in the history
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
  • Loading branch information
erikbosch committed Jul 29, 2024
1 parent 35b40c5 commit b526d8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/common/workflows/check-licenses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ on:
pull_request:
branches:
- main
schedule:
- cron: "0 4 * * *"

jobs:
check-licenses:
Expand Down
2 changes: 2 additions & 0 deletions src/common/workflows/ensure-lifecycle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ on:
pull_request:
branches:
- main
schedule:
- cron: "0 4 * * *"

jobs:
check-sync:
Expand Down

0 comments on commit b526d8d

Please sign in to comment.