Skip to content

Commit

Permalink
Add CodeQL workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tekktrik authored Feb 15, 2024
1 parent bdd9679 commit b7974de
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# SPDX-FileCopyrightText: 2024 Alec Delaney
# SPDX-License-Identifier: MIT

name: "CodeQL Analysis"

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '00 8 * * *'

jobs:
analyze:
name: Analyze code via CodeQL
runs-on: ubuntu-latest
timeout-minutes: 360
permissions:
# required for all workflows
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: python
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: /language:python

0 comments on commit b7974de

Please sign in to comment.