Add stalled PRs workflow #5620
Workflow file for this run
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: Set up JDK 21 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 21 | |
- 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 |