Merge 42e72f0cbb into 59da644db4
This commit is contained in:
commit
f0ea08a4c7
76
.github/workflows/codeql.yml
vendored
Normal file
76
.github/workflows/codeql.yml
vendored
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
# For most projects, this workflow file will not need changing; you simply need
|
||||||
|
# to commit it to your repository.
|
||||||
|
#
|
||||||
|
# You may wish to alter this file to override the set of languages analyzed,
|
||||||
|
# or to provide custom queries or build logic.
|
||||||
|
#
|
||||||
|
# ******** NOTE ********
|
||||||
|
# We have attempted to detect the languages in your repository. Please check
|
||||||
|
# the `language` matrix defined below to confirm you have the correct set of
|
||||||
|
# supported CodeQL languages.
|
||||||
|
#
|
||||||
|
name: "CodeQL"
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "main" ]
|
||||||
|
pull_request:
|
||||||
|
# The branches below must be a subset of the branches above
|
||||||
|
branches: [ "main" ]
|
||||||
|
schedule:
|
||||||
|
- cron: '40 20 * * 1'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
analyze:
|
||||||
|
name: Analyze
|
||||||
|
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
|
||||||
|
permissions:
|
||||||
|
actions: read
|
||||||
|
contents: read
|
||||||
|
security-events: write
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
language: [ 'cpp', 'python' ]
|
||||||
|
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
|
||||||
|
# Use only 'java' to analyze code written in Java, Kotlin or both
|
||||||
|
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
|
||||||
|
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
# Initializes the CodeQL tools for scanning.
|
||||||
|
- name: Initialize CodeQL
|
||||||
|
uses: github/codeql-action/init@v2
|
||||||
|
with:
|
||||||
|
languages: ${{ matrix.language }}
|
||||||
|
# If you wish to specify custom queries, you can do so here or in a config file.
|
||||||
|
# By default, queries listed here will override any specified in a config file.
|
||||||
|
# Prefix the list here with "+" to use these queries and those in the config file.
|
||||||
|
|
||||||
|
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
||||||
|
# queries: security-extended,security-and-quality
|
||||||
|
|
||||||
|
|
||||||
|
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
|
||||||
|
# If this step fails, then you should remove it and run the build manually (see below)
|
||||||
|
- name: Autobuild
|
||||||
|
uses: github/codeql-action/autobuild@v2
|
||||||
|
|
||||||
|
# ℹ️ Command-line programs to run using the OS shell.
|
||||||
|
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
|
||||||
|
|
||||||
|
# If the Autobuild fails above, remove it and uncomment the following three lines.
|
||||||
|
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
|
||||||
|
|
||||||
|
# - run: |
|
||||||
|
# echo "Run, Build Application using script"
|
||||||
|
# ./location_of_script_within_repo/buildscript.sh
|
||||||
|
|
||||||
|
- name: Perform CodeQL Analysis
|
||||||
|
uses: github/codeql-action/analyze@v2
|
||||||
|
with:
|
||||||
|
category: "/language:${{matrix.language}}"
|
||||||
@ -18,7 +18,7 @@ jobs:
|
|||||||
pull-requests: write
|
pull-requests: write
|
||||||
steps:
|
steps:
|
||||||
- name: 'Download artifact'
|
- name: 'Download artifact'
|
||||||
uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0
|
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
var artifacts = await github.rest.actions.listWorkflowRunArtifacts({
|
var artifacts = await github.rest.actions.listWorkflowRunArtifacts({
|
||||||
@ -40,7 +40,7 @@ jobs:
|
|||||||
- run: unzip pr.zip
|
- run: unzip pr.zip
|
||||||
|
|
||||||
- name: 'Comment on PR'
|
- name: 'Comment on PR'
|
||||||
uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0
|
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
|
|||||||
@ -1,12 +1,12 @@
|
|||||||
Babel==2.11.0
|
Babel==2.13.1
|
||||||
certifi==2022.12.7
|
certifi==2023.7.22
|
||||||
charset-normalizer==2.1.1
|
charset-normalizer==2.1.1
|
||||||
click==8.1.3
|
click==8.1.7
|
||||||
csscompressor==0.9.5
|
csscompressor==0.9.5
|
||||||
future==0.18.3
|
future==0.18.3
|
||||||
ghp-import==2.1.0
|
ghp-import==2.1.0
|
||||||
gitdb==4.0.10
|
gitdb==4.0.11
|
||||||
GitPython==3.1.29
|
GitPython==3.1.40
|
||||||
htmlmin==0.1.12
|
htmlmin==0.1.12
|
||||||
httplib2==0.21.0
|
httplib2==0.21.0
|
||||||
idna==3.4
|
idna==3.4
|
||||||
@ -17,33 +17,33 @@ jsmin==3.0.1
|
|||||||
livereload==2.6.3
|
livereload==2.6.3
|
||||||
lunr==0.6.2
|
lunr==0.6.2
|
||||||
Markdown==3.3.7 # we cannot install a more recent version yet as mkdocs 1.4.2 depends on markdown<3.4
|
Markdown==3.3.7 # we cannot install a more recent version yet as mkdocs 1.4.2 depends on markdown<3.4
|
||||||
markdown-include==0.8.0
|
markdown-include==0.8.1
|
||||||
MarkupSafe==2.1.1
|
MarkupSafe==2.1.3
|
||||||
mergedeep==1.3.4
|
mergedeep==1.3.4
|
||||||
mkdocs==1.4.2
|
mkdocs==1.4.2
|
||||||
mkdocs-git-revision-date-localized-plugin==1.1.0
|
mkdocs-git-revision-date-localized-plugin==1.1.0
|
||||||
mkdocs-material==8.5.11
|
mkdocs-material==8.5.11
|
||||||
mkdocs-material-extensions==1.1.1
|
mkdocs-material-extensions==1.1.1
|
||||||
mkdocs-minify-plugin==0.6.2
|
mkdocs-minify-plugin==0.6.2
|
||||||
mkdocs-redirects==1.2.0
|
mkdocs-redirects==1.2.1
|
||||||
mkdocs-simple-hooks==0.1.5
|
mkdocs-simple-hooks==0.1.5
|
||||||
nltk==3.8
|
nltk==3.8.1
|
||||||
packaging==22.0
|
packaging==22.0
|
||||||
plantuml==0.3.0
|
plantuml==0.3.0
|
||||||
plantuml-markdown==3.7.3
|
plantuml-markdown==3.7.3
|
||||||
Pygments==2.13.0
|
Pygments==2.15.0
|
||||||
pymdown-extensions==9.9
|
pymdown-extensions==10.0
|
||||||
pyparsing==3.0.9
|
pyparsing==3.0.9
|
||||||
python-dateutil==2.8.2
|
python-dateutil==2.8.2
|
||||||
pytz==2022.7
|
pytz==2022.7.1
|
||||||
PyYAML==6.0
|
PyYAML==6.0.1
|
||||||
pyyaml_env_tag==0.1
|
pyyaml_env_tag==0.1
|
||||||
regex==2022.10.31
|
regex==2022.10.31
|
||||||
requests==2.28.1
|
requests==2.31.0
|
||||||
six==1.16.0
|
six==1.16.0
|
||||||
smmap==5.0.0
|
smmap==5.0.1
|
||||||
tornado==6.2
|
tornado==6.3.3
|
||||||
tqdm==4.64.1
|
tqdm==4.64.1
|
||||||
urllib3==1.26.13
|
urllib3==1.26.18
|
||||||
watchdog==2.2.0
|
watchdog==2.2.0
|
||||||
zipp==3.11.0
|
zipp==3.11.0
|
||||||
|
|||||||
3
renovate.json
Normal file
3
renovate.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"extends": ["github>sarvex/renovate-configs:cpp"]
|
||||||
|
}
|
||||||
@ -1,2 +1,2 @@
|
|||||||
PyYAML==6.0
|
PyYAML==6.0.1
|
||||||
watchdog==2.1.7
|
watchdog==2.1.7
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user