From 4bcd97501e53c4ca3e4a2a737af075a513d1775c Mon Sep 17 00:00:00 2001 From: Faye Amacker <33205765+fxamacker@users.noreply.github.com> Date: Mon, 30 Sep 2024 10:00:00 -0500 Subject: [PATCH] Update cron and PR branches in codeql-analysis.yml - Update cron to run daily at 7:45 AM Central. - Make CodeQL run on PR in all branches to help prevent OpenSSF score for static analysis from being reduced. --- .github/workflows/codeql-analysis.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index d26a0db..f1f18ab 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -10,12 +10,9 @@ on: - 'feature/**' - 'v**' pull_request: - branches: - - main - - 'feature/**' - - 'v**' + # Run CodeQL on PR in all branches. schedule: - - cron: '30 5 * * 4' + - cron: '45 12 * * *' # Daily at 12:45 UTC / 7:45 AM Central concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}