mirror of
https://github.com/simstudioai/sim.git
synced 2026-08-29 02:27:35 +08:00
improvement(ci): run the CodeQL cron weekly and cancel superseded scans (#6406)
This commit is contained in:
@@ -41,13 +41,12 @@ on:
|
||||
# Safety net behind the push trigger, and the thing that keeps the
|
||||
# default-branch alert view fresh when main is quiet. Only fires once this
|
||||
# file is on the default branch — schedule events ignore other branches.
|
||||
- cron: '17 8 * * *'
|
||||
- cron: '17 8 * * 1'
|
||||
workflow_dispatch:
|
||||
|
||||
# Scheduled main scans must run to completion — only PR pushes supersede.
|
||||
concurrency:
|
||||
group: codeql-${{ github.ref }}
|
||||
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
Reference in New Issue
Block a user