2021-10-05 17:22:46 +00:00
|
|
|
name: "CodeQL"
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- development
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- development
|
|
|
|
schedule:
|
|
|
|
- cron: '32 11 * * 6'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
analyze:
|
|
|
|
name: Analyze
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
actions: read
|
|
|
|
contents: read
|
|
|
|
security-events: write
|
|
|
|
|
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: Checkout repository
|
2022-05-12 07:23:57 +00:00
|
|
|
uses: actions/checkout@v3
|
2021-10-05 17:22:46 +00:00
|
|
|
# Initializes the CodeQL tools for scanning.
|
|
|
|
-
|
|
|
|
name: Initialize CodeQL
|
2022-05-12 07:24:06 +00:00
|
|
|
uses: github/codeql-action/init@v2
|
2021-10-05 17:22:46 +00:00
|
|
|
with:
|
|
|
|
languages: 'python'
|
|
|
|
-
|
|
|
|
name: Autobuild
|
2022-05-12 07:24:06 +00:00
|
|
|
uses: github/codeql-action/autobuild@v2
|
2021-10-05 17:22:46 +00:00
|
|
|
-
|
|
|
|
name: Perform CodeQL Analysis
|
2022-05-12 07:24:06 +00:00
|
|
|
uses: github/codeql-action/analyze@v2
|