chore: Only run codeql on schedule
This commit is contained in:
13
.github/workflows/codeql.yml
vendored
13
.github/workflows/codeql.yml
vendored
@@ -1,22 +1,9 @@
|
|||||||
name: 'CodeQL'
|
name: 'CodeQL'
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
branches: ['main']
|
|
||||||
paths:
|
|
||||||
- src/**
|
|
||||||
pull_request:
|
|
||||||
# The branches below must be a subset of the branches above
|
|
||||||
branches: ['main']
|
|
||||||
paths:
|
|
||||||
- src/**
|
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '20 2 * * 0'
|
- cron: '20 2 * * 0'
|
||||||
|
|
||||||
concurrency:
|
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
|
||||||
cancel-in-progress: true
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
analyze:
|
analyze:
|
||||||
name: Analyze
|
name: Analyze
|
||||||
|
Reference in New Issue
Block a user