@ -20,8 +20,15 @@ on:
schedule:
schedule:
- cron : '29 6 * * 6'
- cron : '29 6 * * 6'
permissions:
contents : read
jobs:
jobs:
analyze:
analyze:
permissions:
actions : read # for github/codeql-action/init to get workflow details
contents : read # for actions/checkout to fetch code
security-events : write # for github/codeql-action/autobuild to send a status report
name : Analyze
name : Analyze
runs-on : ubuntu-latest
runs-on : ubuntu-latest
@ -35,11 +42,11 @@ jobs:
steps:
steps:
- name : Checkout repository
- name : Checkout repository
uses : actions/checkout@ v2
uses : actions/checkout@ 629c2de402a417ea7690ca6ce3f33229e27606a5 # v2
# Initializes the CodeQL tools for scanning.
# Initializes the CodeQL tools for scanning.
- name : Initialize CodeQL
- name : Initialize CodeQL
uses : github/codeql-action/init@ v1
uses : github/codeql-action/init@ 883476649888a9e8e219d5b2e6b789dc024f690c # v1
with:
with:
languages : ${{ matrix.language }}
languages : ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# If you wish to specify custom queries, you can do so here or in a config file.
@ -50,7 +57,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
# If this step fails, then you should remove it and run the build manually (see below)
- name : Autobuild
- name : Autobuild
uses : github/codeql-action/autobuild@ v1
uses : github/codeql-action/autobuild@ 883476649888a9e8e219d5b2e6b789dc024f690c # v1
# ℹ ️ Command-line programs to run using the OS shell.
# ℹ ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# 📚 https://git.io/JvXDl
@ -64,4 +71,4 @@ jobs:
# make release
# make release
- name : Perform CodeQL Analysis
- name : Perform CodeQL Analysis
uses : github/codeql-action/analyze@ v1
uses : github/codeql-action/analyze@ 883476649888a9e8e219d5b2e6b789dc024f690c # v1