Skip to content

feat: Add CodeQL SAST workflow #4

feat: Add CodeQL SAST workflow

feat: Add CodeQL SAST workflow #4

name: "CodeQL"
permissions:
contents: read
actions: read
security-events: write
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
schedule:
- cron: "0 3 * * 1"
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: ["java"]
steps:
- name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
- name: Initialize CodeQL
uses: github/codeql-action/init@17783bfb99b07f70fae080b654aed0c514057477
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@17783bfb99b07f70fae080b654aed0c514057477
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@17783bfb99b07f70fae080b654aed0c514057477