Skip to content

CodeQL

CodeQL #831

Workflow file for this run

name: CodeQL
on:
push:
branches:
- main
tags:
- v*
pull_request:
branches:
- main
schedule:
- cron: "30 14 * * 4"
jobs:
analyze-java-kotlin:
name: Analyze (java-kotlin)
runs-on: "ubuntu-latest"
timeout-minutes: 360
permissions:
security-events: write
packages: read
actions: read
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: java-kotlin
build-mode: autobuild
queries: security-and-quality
config: |
paths:
- 'packages/**/src/**/*.kt'
- 'packages/**/src/**/*.java'
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:java-kotlin"
analyze-actions:
name: Analyze (actions)
runs-on: "ubuntu-latest"
timeout-minutes: 360
permissions:
security-events: write
packages: read
actions: read
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: actions
queries: security-and-quality
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:actions"