Skip to content

Commit

Permalink
ci(github_actions): add CodeQL workflow (python only)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomassebestik committed Sep 11, 2024
1 parent 36f3759 commit 6e9f122
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/code-ql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
name: 'CodeQL'

on:
push:
branches: ['master', '*.X']
pull_request:
branches: ['master', '*.X']
schedule:
- cron: '0 6 * * 1'

jobs:
analyze:
name: Analyze
runs-on: 'ubuntu-latest'
timeout-minutes: 360
permissions:
security-events: write
strategy:
fail-fast: false
matrix:
language: ['python']

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: '/language:${{matrix.language}}'
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@

---

## Unreleased

---

## v1.0.1 (2024-09-10)

### 🐛 Bug fixes
Expand Down

0 comments on commit 6e9f122

Please sign in to comment.