Skip to content

Commit

Permalink
chore(ci): switch to GH default CodeQL (#1431)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts authored Jul 22, 2024
1 parent 011af8c commit af5c411
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 37 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,42 +40,6 @@ jobs:
-Dsonar.exclusions=**/config/**,*/dto/**,**/entity/**,**/exception/**,**/filter/**,**/interceptor/**,**/response/**,**/**Builder*,**/RestExceptionEndpoint.*,**/BackendStartApiApplication.*
sonar_token: ${{ secrets[matrix.token] }}

codeql:
name: Semantic Code Analysis
if: ${{ ! github.event.pull_request.draft }}
runs-on: ubuntu-22.04
permissions:
actions: read
contents: read
security-events: write
steps:
- uses: actions/checkout@v4

- name: Initialize
uses: github/codeql-action/init@v3
with:
debug: true
languages: java,javascript

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: "17"
distribution: "temurin"

# Build Java apps, JavaScript doesn't require
- name: Backend Build
working-directory: backend
run: mvn --update-snapshots -P prod clean package -Dmaven.test.skip

# Build Java apps, JavaScript doesn't require
- name: Oracle API Build
working-directory: oracle-api
run: mvn --update-snapshots package -Dmaven.test.skip

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3

# https://github.com/marketplace/actions/aqua-security-trivy
trivy:
name: Security Scan
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/job-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Nightly
on:
schedule: [cron: "0 11 * * 6"] # 3 AM PST = 12 PM UDT, Saturdays
workflow_dispatch:
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down

0 comments on commit af5c411

Please sign in to comment.