Merge pull request #5696 from opengisch/backport-5692-to-release-3_4 #1614
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: | |
push: | |
branches: [ "master", "release-*" ] | |
pull_request: | |
branches: [ "master", "release-*" ] | |
schedule: | |
- cron: '45 16 * * 3' | |
jobs: | |
code-ql: | |
name: Analyze | |
runs-on: 'ubuntu-latest' | |
timeout-minutes: 360 | |
permissions: | |
security-events: write | |
strategy: | |
fail-fast: false | |
matrix: | |
language: | |
# - 'c-cpp' # Tested as part of the linux builds | |
- 'python' | |
- 'ruby' | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: ${{ matrix.language }} | |
- name: Autobuild | |
uses: github/codeql-action/autobuild@v3 | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 | |
with: | |
category: "/language:${{matrix.language}}" |