Skip to content

Merge pull request #34 from PackmanDude/release #35

Merge pull request #34 from PackmanDude/release

Merge pull request #34 from PackmanDude/release #35

Workflow file for this run

name: "CodeQL"
on:
push:
pull_request:
branches: [ "release" ]
jobs:
analyze:
if: "!contains(github.event.commits[0].message, '[ql-skip]')"
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
include:
- language: java-kotlin
build-mode: autobuild
steps:
- if: ${{ github.event_name == 'push' }}
uses: actions/checkout@v4
- if: ${{ github.event_name == 'pull_request' }}
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
config-file: ./.github/codeql/codeql-config.yml
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
queries: security-and-quality
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"