Skip to content

Commit

Permalink
Add CodeQL analysis workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex committed Nov 13, 2024
1 parent 6fc10db commit 5265f55
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: "CodeQL Analysis" on:
push: branches:
- main # Runs the analysis when changes are pushed to the main branch pull_request:
branches:
- main # Runs the analysis when a PR is opened to the main branch
jobs: analyze:
name: Analyze code with CodeQL runs-on: ubuntu-latest
steps:
- name: Checkout repository uses: actions/checkout@v3
- name: Set up CodeQL
uses: github/codeql-action/setup-codeql@v2
- name: Run CodeQL Analysis
uses: github/codeql-action/analyze@v2 with:
categories: 'security'
# Can be 'security' or 'security-and-quality' depending on the type of scan you need

0 comments on commit 5265f55

Please sign in to comment.