Skip to content

Commit

Permalink
ci: add codeql action (#971)
Browse files Browse the repository at this point in the history
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
  • Loading branch information
aramase committed Sep 8, 2022
1 parent 815ad88 commit 29b52ae
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/codeql.yaml
@@ -0,0 +1,35 @@
name: "CodeQL"

on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: "0 15 * * 1" # Mondays at 7:00 AM PST

permissions: read-all

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
security-events: write

steps:
- name: Checkout repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b

- name: Initialize CodeQL
uses: github/codeql-action/init@b398f525a5587552e573b247ac661067fafa920b
with:
languages: go

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

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

0 comments on commit 29b52ae

Please sign in to comment.