Skip to content

Commit

Permalink
Run CodeQL security analysis on schedule and push
Browse files Browse the repository at this point in the history
  • Loading branch information
cbandy committed Oct 10, 2024
1 parent 0106de9 commit 353ed0a
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CodeQL

on:
pull_request:
branches:
- main
push:
branches:
- main
schedule:
- cron: '10 18 * * 2'

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

steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with: { go-version: stable }

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with: { languages: go, build-mode: autobuild }

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

0 comments on commit 353ed0a

Please sign in to comment.