Skip to content

Pass over a declared source root that is not there #389

Pass over a declared source root that is not there

Pass over a declared source root that is not there #389

Workflow file for this run

name: CodeQL
on:
pull_request:
branches: [ "main" ]
push:
branches: [ "main" ]
schedule:
- cron: "0 16 * * 0"
workflow_dispatch:
permissions: {}
concurrency:
group: codeql-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
analyse:
name: Analyse Java
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
timeout-minutes: 45
permissions:
security-events: write
contents: read
actions: read
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Set up JDK 17
uses: actions/setup-java@dd06d9cba3e5552c54d9f8ea23572deb30010f7c # v6.0.0
with:
java-version: "17"
distribution: "temurin"
cache: "maven"
- name: Initialise CodeQL
uses: github/codeql-action/init@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28 # v4.37.8
with:
languages: java
build-mode: manual
# This job builds only so that CodeQL can watch it. The quality gate bound to
# package belongs to the static analysis job in maven.yml, so it is turned off here.
- name: Build
run: mvn -B -DskipTests package -Pwithout-quality-gates
- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28 # v4.37.8