Skip to content

Configure docker workflow to run also on merged pull requests (#93) #320

Configure docker workflow to run also on merged pull requests (#93)

Configure docker workflow to run also on merged pull requests (#93) #320

name: "Code Analysis CI"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '34 22 * * 3'
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
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Set up JDK 19
uses: actions/setup-java@v3
with:
java-version: 19
distribution: temurin
cache: gradle
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2