Skip to content

Commit

Permalink
Add CodeQL Analysis workflow (#565)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ytemiloluwa committed Dec 10, 2024
1 parent a0261fa commit 6968948
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/CodeQL-Analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "CodeQL Analysis"
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
security-scan:
name: Run CodeQL Analysis
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up CodeQL
uses: github/codeql-action/setup-codeql@v2
with:
languages: 'swift'

- name: Initialize CodeQL database
uses: github/codeql-action/autobuild@v2

- name: Run CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: security

0 comments on commit 6968948

Please sign in to comment.