1
Fork 0
mirror of https://github.com/Steffo99/cfig.git synced 2024-11-25 01:14:20 +00:00
cfig/.github/workflows/analysis.yml

29 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