Skip to content

Resolve comments

Resolve comments #157

name: "CodeQL"
on:
pull_request:
branches:
- 'main'
- '[1-9]+.[0-9x]+'
push:
branches-ignore:
- 'dependabot/**'
paths:
- '**/*.java'
- '.github/workflows/codeql-analysis.yml'
jobs:
analyze:
name: CodeQL-Scan
runs-on: ubuntu-latest
permissions:
security-events: write
actions: read
strategy:
fail-fast: false
matrix:
language: [ 'java' ]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 21
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2