From 7aa86c481c4ee5904628b8ed22837c83ab256541 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20FIDRY?= Date: Fri, 6 Oct 2023 12:54:03 +0200 Subject: [PATCH] ci: Add monthly schedule --- .github/workflows/auto-review.yaml | 5 ++++- .github/workflows/docker.yaml | 5 ++++- .github/workflows/e2e-tests.yaml | 5 ++++- .github/workflows/release.yaml | 5 ++++- .github/workflows/requirement-checker.yaml | 3 +++ .github/workflows/security.yaml | 5 ++++- .github/workflows/unit-tests.yaml | 5 ++++- 7 files changed, 27 insertions(+), 6 deletions(-) diff --git a/.github/workflows/auto-review.yaml b/.github/workflows/auto-review.yaml index 0eb1e1702..8e689b427 100644 --- a/.github/workflows/auto-review.yaml +++ b/.github/workflows/auto-review.yaml @@ -3,7 +3,10 @@ name: AutoReview on: push: branches: [ main ] - pull_request: + pull_request: ~ + schedule: + # Do not make it the first of the month and/or midnight since it is a very busy time + - cron: "* 10 5 * *" jobs: lint-cs: diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index e35c30edb..0a80ecd17 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -3,7 +3,10 @@ name: Docker on: push: branches: [ main ] - pull_request: + pull_request: ~ + schedule: + # Do not make it the first of the month and/or midnight since it is a very busy time + - cron: "* 10 5 * *" release: types: [ created ] diff --git a/.github/workflows/e2e-tests.yaml b/.github/workflows/e2e-tests.yaml index f1fefc750..906067786 100644 --- a/.github/workflows/e2e-tests.yaml +++ b/.github/workflows/e2e-tests.yaml @@ -3,7 +3,10 @@ name: End-to-End Tests on: push: branches: [ main ] - pull_request: + pull_request: ~ + schedule: + # Do not make it the first of the month and/or midnight since it is a very busy time + - cron: "* 10 5 * *" release: types: [ created ] diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3ee3c95b3..e84c2c4e0 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -3,7 +3,10 @@ name: Release on: push: branches: [ main ] - pull_request: + pull_request: ~ + schedule: + # Do not make it the first of the month and/or midnight since it is a very busy time + - cron: "* 10 5 * *" release: types: [ created ] diff --git a/.github/workflows/requirement-checker.yaml b/.github/workflows/requirement-checker.yaml index bc00146d1..1b23d4eea 100644 --- a/.github/workflows/requirement-checker.yaml +++ b/.github/workflows/requirement-checker.yaml @@ -4,6 +4,9 @@ on: push: branches: [ main ] pull_request: ~ + schedule: + # Do not make it the first of the month and/or midnight since it is a very busy time + - cron: "* 10 5 * *" env: POLLING_INTERVALS_SEC: 30 diff --git a/.github/workflows/security.yaml b/.github/workflows/security.yaml index e488df7a4..1efc62459 100644 --- a/.github/workflows/security.yaml +++ b/.github/workflows/security.yaml @@ -3,7 +3,10 @@ name: Security on: push: branches: [ main ] - pull_request: + pull_request: ~ + schedule: + # Do not make it the first of the month and/or midnight since it is a very busy time + - cron: "* 10 5 * *" release: types: [ created ] diff --git a/.github/workflows/unit-tests.yaml b/.github/workflows/unit-tests.yaml index 4277c4955..5386af99b 100644 --- a/.github/workflows/unit-tests.yaml +++ b/.github/workflows/unit-tests.yaml @@ -3,7 +3,10 @@ name: Unit Tests on: push: branches: [ main ] - pull_request: + pull_request: ~ + schedule: + # Do not make it the first of the month and/or midnight since it is a very busy time + - cron: "* 10 5 * *" release: types: [ created ]