2022-02-23 10:54:07 +01:00
|
|
|
name: "CodeQL"
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ v6 ]
|
|
|
|
pull_request:
|
|
|
|
# The branches below must be a subset of the branches above
|
|
|
|
branches: [ v6 ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
analyze:
|
|
|
|
name: Analyze
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
|
|
actions: read
|
|
|
|
contents: read
|
|
|
|
security-events: write
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
language: [ 'java' ]
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
2022-03-07 23:14:24 +01:00
|
|
|
uses: actions/checkout@v3
|
2022-02-23 10:54:07 +01:00
|
|
|
|
|
|
|
- name: Initialize CodeQL
|
2022-04-25 15:59:30 +02:00
|
|
|
uses: github/codeql-action/init@v2
|
2022-02-23 10:54:07 +01:00
|
|
|
with:
|
|
|
|
languages: ${{ matrix.language }}
|
|
|
|
|
|
|
|
- name: Autobuild
|
2022-04-25 15:59:30 +02:00
|
|
|
uses: github/codeql-action/autobuild@v2
|
2022-02-23 10:54:07 +01:00
|
|
|
|
|
|
|
- name: Perform CodeQL Analysis
|
2022-04-25 15:59:30 +02:00
|
|
|
uses: github/codeql-action/analyze@v2
|