Skip to content

Commit

Permalink
add - Added CodeQL support
Browse files Browse the repository at this point in the history
---

CodeQL is working properly. Hence, we're rolling it out.

---

Type: add
Breaking: False
Doc Required: False
Backport Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Sep 11, 2024
1 parent 5a4ee53 commit 1e6daa3
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: "CodeQL Analysis"

on:
push:
branches: [ "main", "v0.1.0.x-saas", "v0.1.1.x-servicing" ]
pull_request:
branches: [ "main", "v0.1.0.x-saas", "v0.1.1.x-servicing" ]
schedule:
- cron: '32 13 * * 2'

jobs:
analyze:
name: Analyze
runs-on: 'ubuntu-latest'
timeout-minutes: 360
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'csharp' ]


steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Build
run: |
chmod +x ./tools/build.sh
cd tools && ./build.sh && cd -
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"

0 comments on commit 1e6daa3

Please sign in to comment.