Skip to content

CodeQL

CodeQL #625

# https://github.com/complex64/protoc-gen-gorm/security/code-scanning
name: "CodeQL"
on:
pull_request:
branches:
- main
- release/*
schedule:
- cron: '24 20 * * 2' # At 20:24 on Tuesday
jobs:
analyze:
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
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3