Merge branch '2.x' into Spotless_Backport_6_pt2 #2366
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" | |
on: | |
pull_request: | |
branches: | |
- 'main' | |
- '[1-9]+.[0-9x]+' | |
push: | |
branches-ignore: | |
- 'dependabot/**' | |
paths: | |
- '**/*.java' | |
- '.github/workflows/codeql-analysis.yml' | |
jobs: | |
analyze: | |
name: CodeQL-Scan | |
runs-on: ubuntu-latest | |
permissions: | |
security-events: write | |
actions: read | |
strategy: | |
fail-fast: false | |
matrix: | |
language: [ 'java' ] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: ${{ matrix.language }} | |
- name: Autobuild | |
uses: github/codeql-action/autobuild@v2 | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 |