Skip to content

Commit

Permalink
ci: add codeql action
Browse files Browse the repository at this point in the history
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
  • Loading branch information
aramase committed Oct 24, 2022
1 parent 7a7d701 commit a3c0e4e
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "CodeQL"

on:
push:
branches:
- main
schedule:
- cron: "0 7 * * 1" # Mondays at 7:00 AM

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@cc7986c02bac29104a72998e67239bb5ee2ee110
with:
languages: go

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

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

0 comments on commit a3c0e4e

Please sign in to comment.