Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MNT: (deps): Bump github/codeql-action from 2 to 3 #773

Merged
merged 2 commits into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/codeql/codeql-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: "CodeQL Config"

queries:
- uses: security-and-quality

paths-ignore:
- examples
34 changes: 17 additions & 17 deletions .github/workflows/code-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,27 @@
name: "Code Analysis"

concurrency:
group: ${{ github.workflow}}-${{ github.head_ref }}
cancel-in-progress: true

on:
push:
branches: [master, ]
pull_request:
# The branches below must be a subset of the branches above
branches: [master]
paths:
- '**.py'
- '.github/codeql/**'
- '.github/workflows/code-analysis.yml'

schedule:
- cron: '0 8 * * 6'

permissions:
contents: read
security-events: write

jobs:
CodeQL:
runs-on: ubuntu-latest
Expand All @@ -17,23 +30,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
# Override language selection by uncommenting this and choosing your languages
# with:
# languages: go, javascript, csharp, python, cpp, java

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release
uses: github/codeql-action/init@v3
with:
config-file: ./.github/codeql/codeql-config.yml

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
Loading