Skip to content

Commit

Permalink
build: 添加CodeQL GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
Cassius0924 committed Feb 21, 2024
1 parent b25c37c commit 9859f3b
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CodeQL

on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: '0 0 * * *'

jobs:
analyze:
runs-on: ubuntu-latest

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

- name: Initialize CodeQL
uses: github/codeql-action/[email protected]
with:
languages: python

- name: Perform CodeQL Analysis
uses: github/codeql-action/[email protected]
with:
category: "/language:python"

0 comments on commit 9859f3b

Please sign in to comment.