Skip to content

Commit

Permalink
Merge pull request #234 from TNG/ci/add-codeql-workflow
Browse files Browse the repository at this point in the history
ci: add CodeQL workflow
  • Loading branch information
mak638 authored Mar 22, 2024
2 parents 8e4c6e9 + 2bdcc20 commit 4754793
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: "CodeQL"

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
schedule:
- cron: "22 8 * * 4"

jobs:
analyze:
name: Analyze
runs-on: "ubuntu-latest"
timeout-minutes: 360
permissions:
security-events: write
strategy:
fail-fast: false
matrix:
language: ["csharp"]
steps:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Initialize CodeQL
uses: github/codeql-action/init@05963f47d870e2cb19a537396c1f668a348c7d8f # v3.24.8
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@05963f47d870e2cb19a537396c1f668a348c7d8f # v3.24.8
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@05963f47d870e2cb19a537396c1f668a348c7d8f # v3.24.8
with:
category: "/language:${{matrix.language}}"

0 comments on commit 4754793

Please sign in to comment.