From 106e81df4c138d1ea9a1e5058cfa5fcf6653b5fb Mon Sep 17 00:00:00 2001 From: mohamed Date: Fri, 25 Aug 2023 15:45:54 +0300 Subject: [PATCH] Run CodeQL once daily on a schedule --- .github/workflows/ci.yml | 2 -- .github/workflows/codeql-analysis.yml | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6d185cb7bba..125b18d3096 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,8 +28,6 @@ permissions: jobs: lint: uses: ./.github/workflows/lint.yml - codeql: - uses: ./.github/workflows/codeql-analysis.yml test: uses: ./.github/workflows/test.yml # Virtual job that can be configured as a required check before a PR can be merged. diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a9a16deb668..f6bfc3d1ca3 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -12,7 +12,8 @@ name: "CodeQL" on: - workflow_call: + schedule: + - cron: "0 9 * * *" permissions: actions: read