From 25ea5ccac7dfeedda044abeb574684700df600d2 Mon Sep 17 00:00:00 2001 From: Johnathan Gilday Date: Mon, 20 Mar 2023 22:20:04 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=92=EF=B8=8F=20add=20codeql=20scanning?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/codeql.yml | 39 ++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/codeql.yml diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 000000000..151475229 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,39 @@ +name: "CodeQL" + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Setup Java + uses: actions/setup-java@v3.10.0 + with: + java-version: 11 + distribution: temurin + cache: maven + + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + + - run: | + ./mvnw --batch-mode verify -DskipTests + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 + with: + category: "/language:java"