mirror of
https://github.com/Steffo99/cfig.git
synced 2024-11-24 17:04:19 +00:00
30 lines
630 B
YAML
30 lines
630 B
YAML
|
name: "Periodic analysis"
|
||
|
|
||
|
on:
|
||
|
schedule:
|
||
|
# Change this in your project to a random time.
|
||
|
# Every monday at 06:09 UTC
|
||
|
- cron: "9 6 * * 1"
|
||
|
|
||
|
jobs:
|
||
|
codeql:
|
||
|
name: "🔍 Perform CodeQL analysis"
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
permissions:
|
||
|
security-events: write
|
||
|
actions: read
|
||
|
contents: read
|
||
|
|
||
|
steps:
|
||
|
- name: "⬇️ Checkout repository"
|
||
|
uses: actions/checkout@v3
|
||
|
|
||
|
- name: "🔨 Initialize CodeQL"
|
||
|
uses: github/codeql-action/init@v2
|
||
|
with:
|
||
|
languages: python
|
||
|
|
||
|
- name: "🔍 Perform CodeQL analysis"
|
||
|
uses: github/codeql-action/analyze@v2
|