Skip to content

Commit

Permalink
Add CodeQL workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dagood committed Mar 26, 2024
1 parent 4c19ac3 commit a3ee973
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: "CodeQL"

on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
schedule:
- cron: 44 11 * * 0

jobs:
analyze:
name: Analyze
runs-on: ubuntu-22.04
timeout-minutes: 360
permissions:
security-events: write

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

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

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

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: /language:go

0 comments on commit a3ee973

Please sign in to comment.