Snapshot 3.9.1-SNAPSHOT #1495
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: Scan with CodeQL | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
schedule: | |
# Every 2 days at 10:30 UTC | |
- cron: '30 10 */2 * *' | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
# We must fetch at least the immediate parents so that if this is | |
# a pull request then we can checkout the head. | |
fetch-depth: 2 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: 'java' | |
- name: Autobuild | |
uses: github/codeql-action/autobuild@v3 | |
env: | |
GIT_BRANCH: ${{ github.ref }} | |
GIT_COMMIT: ${{ github.sha }} | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 |