Skip to content

CodeQL

CodeQL #191

name: "CodeQL"
on:
push:
branches: [ main ]
schedule:
- cron: '0 12 * * *'
jobs:
analyze:
if: github.repository == 'aws/karpenter'
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'go' ]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-deps
- run: make vulncheck
- uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- uses: github/codeql-action/autobuild@v2
- uses: github/codeql-action/analyze@v2