Skip to content

Commit

Permalink
Create codeql.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Lala Sabathil <lala@pycord.dev>
  • Loading branch information
Lulalaby authored Aug 16, 2024
1 parent 1dd23df commit c2fd103
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: "CodeQL"

on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: "26 6 * * 6"

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
analyze:
name: "Analyze"
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
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

0 comments on commit c2fd103

Please sign in to comment.