Skip to content

Commit

Permalink
Add CodeQL Analysis workflow (open-telemetry#565)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ytemiloluwa committed Dec 13, 2024
1 parent a0261fa commit a24ecda
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/init@v2
with:
languages: 'swift'

- name: Autobuild
uses: github/codeql-action/autobuild@v2

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

0 comments on commit a24ecda

Please sign in to comment.