CodeQL Scan #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "CodeQL Scan" | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [synchronize, opened, reopened, ready_for_review] | |
branches: | |
- main | |
- features/automatic-update | |
push: | |
branches: | |
- main | |
- features/automatic-update | |
#Twice a month at 5:00 AM too. | |
schedule: | |
- cron: '0 5 1,15 * *' | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: [ 'ubuntu-latest' ] | |
timeout-minutes: 360 | |
permissions: | |
# required for all workflows | |
security-events: write | |
# only required for workflows in private repositories | |
actions: read | |
contents: read | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
# Initializes the CodeQL tools for scanning. | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: java-kotlin | |
queries: security-extended,security-and-quality | |
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift). | |
# If this step fails, then you should remove it and run the build manually | |
- name: Autobuild | |
uses: github/codeql-action/autobuild@v3 | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 | |
with: | |
category: "/language:java-kotlin" |