Skip to content

test: add a CodeQL runner #1

test: add a CodeQL runner

test: add a CodeQL runner #1

Workflow file for this run

name: "CodeQL Advanced"
on:
push:
branches: [ "main", "release-*" ]
pull_request:
branches: [ "main", "release-*" ]
schedule:
- cron: '23 3 * * 3'
jobs:
analyze:
if: (!startsWith(github.head_ref, 'renovate/') && !startsWith(github.head_ref, 'dependabot/'))
name: Analyze (${{ matrix.language }})
runs-on:
- self-hosted
- talos
permissions:
security-events: write
strategy:
fail-fast: false
matrix:
include:
- language: go
build-mode: autobuild
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"