Skip to content
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
c4550ea
[SEC-3979] codeql workflow fix
randall-wyatt Nov 25, 2025
ff8b8bf
Working on the flow
randall-wyatt Nov 25, 2025
d6b5dca
moved the install of jdk up
randall-wyatt Nov 25, 2025
1d7b3cc
working on the build
randall-wyatt Nov 25, 2025
fd4c89c
working on the build again
randall-wyatt Dec 1, 2025
0db074d
more build issues
randall-wyatt Dec 1, 2025
f5f568c
working on trying to find the pom file
randall-wyatt Dec 1, 2025
1f52c2b
working on trying to get it to build
randall-wyatt Dec 1, 2025
3f7157c
working on trying to get it to build
randall-wyatt Dec 1, 2025
c4968b1
working on trying to get it to build again
randall-wyatt Dec 1, 2025
14f5aa0
working on trying to get it to build again
randall-wyatt Dec 1, 2025
0ef9389
pulling information from other workflows to try something
randall-wyatt Dec 2, 2025
fa704a3
upversioning the analysis package
randall-wyatt Dec 2, 2025
361686f
trying autobuild
randall-wyatt Dec 2, 2025
c1b744b
changing language to java-kotlin
randall-wyatt Dec 2, 2025
90cc21d
moving the build things to after the init
randall-wyatt Dec 2, 2025
3e76d7a
updating things in the workflow
randall-wyatt Dec 2, 2025
1869d7c
updating things in the workflow
randall-wyatt Dec 2, 2025
61bff90
updating things in the workflow
randall-wyatt Dec 2, 2025
55145d8
updating things in the workflow
randall-wyatt Dec 2, 2025
5bb57d2
updating things in the workflow
randall-wyatt Dec 2, 2025
d2c1ceb
google svcs config
randall-wyatt Dec 2, 2025
45b9bed
reverting the jdk sha
randall-wyatt Dec 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 32 additions & 32 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,59 +7,59 @@ on:
branches: [ "master" ]

jobs:
analyze:
analyze-java:
name: Analyze Java
runs-on: ubuntu-latest
runs-on: 'ubuntu-latest'
permissions:
# required for all workflows
security-events: write

# required to fetch internal or private CodeQL packsCodeQ
packages: read

# only required for workflows in private repositories
actions: read
contents: read


strategy:
fail-fast: false
matrix:
include:
- language: java-kotlin
- language: java
build-mode: autobuild

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: '0'

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
languages: java
queries: security-extended,security-and-quality

- name: Configure JDK
uses: actions/setup-java@d202f5dbf7256730fb690ec59f6381650114feb2 # v1.4.3
with:
java-version: 17

- name: Setup Google Services Configuration
run: |
echo "Setting up Google Services configuration for CI..."
# Ensure the google-services.json file exists for the build
if [ ! -f "integration-tests/google-services.json" ]; then
echo "Creating google-services.json from template..."
cp integration-tests/google-services.json.template integration-tests/google-services.json
fi
echo "Google Services configuration ready"

# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
queries: ${{ matrix.language == 'java-kotlin' && 'security-extended, security-and-quality' }}
- run: touch local.properties

# If the analyze step fails for one of the languages you are analyzing with
# "We were unable to automatically build your code", modify the matrix above
# to set the build mode to "manual" for that language. Then modify this step
# to build your code.
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
- if: matrix.build-mode == 'manual'
shell: bash
- name: CodeQL Manual Build (Disable Daemon & Trace)
run: |
echo 'If you are using a "manual" build mode for one or more of the' \
'languages you are analyzing, replace this with the commands to build' \
'your code, for example:'
echo ' make bootstrap'
echo ' make release'
exit 1
CODEQL_BIN="/opt/hostedtoolcache/CodeQL/2.23.6/x64/codeql/codeql"
DB_PATH="/home/runner/work/_temp/codeql_databases/java"
./gradlew assembleRelease --no-daemon -x test -x lint

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@v4
with:
category: "/language:${{matrix.language}}"
category: "/language:${{matrix.language}}"
Loading