Skip to content

Commit

Permalink
Update cron and PR branches in codeql-analysis.yml
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
fxamacker authored Sep 30, 2024
1 parent 647087a commit 4bcd975
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 4bcd975

Please sign in to comment.