Skip to content

Commit

Permalink
ci: add CodeQL
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim An <maksiman@microsoft.com>
  • Loading branch information
anmaxvl committed Nov 5, 2023
1 parent 0af576d commit 44e0af3
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "CodeQL"
on:
push:
branches: [ main, codeql ]
pull_request:
branches: [ main, codeql ]
schedule:
# minute, hour, day of month, month, day of week
- cron: '0 0 * * 0'

jobs:
CodeQL-Build:
runs-on: ubuntu-latest

permissions:
security-events: write

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

- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: go, cpp

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

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1

0 comments on commit 44e0af3

Please sign in to comment.