chore: add codeql github action

main
sudo pacman -Syu 2022-12-08 00:09:08 +07:00
parent a768f1329b
commit 90eff132c3
1 changed files with 23 additions and 0 deletions

23
.github/workflows/codeql.yml vendored Normal file
View File

@ -0,0 +1,23 @@
name: CodeQL
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: "30 1 * * 0"
jobs:
CodeQL-Build:
runs-on: ubuntu-latest
permissions:
security-events: write
actions: read
contents: read
steps:
- uses: actions/checkout@v3
- uses: github/codeql-action/init@v2
- run: |
make build
- uses: github/codeql-action/analyze@v2