Files
iot-dc3/.github/workflows/codeql.yml
T
Copilot 339cdd304d chore: fix inceptionYear and scm connection in all pom.xml
- Fix <inceptionYear> from '2016-2022' to '2016' in 20 pom.xml files
- Fix <scm> connection/developerConnection to use scm:git: prefix in 22 pom.xml files

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-18 01:31:07 +08:00

55 lines
1.3 KiB
YAML

name: CodeQL Advanced
on:
push:
branches: [release, main]
pull_request:
branches: [release, main]
schedule:
- cron: '36 18 * * 3'
permissions:
actions: read
contents: read
packages: read
security-events: write
concurrency:
group: codeql-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
timeout-minutes: 90
strategy:
fail-fast: false
matrix:
include:
- language: actions
build-mode: none
- language: java-kotlin
build-mode: none
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
- if: matrix.build-mode == 'manual'
shell: bash
run: |
echo 'Manual build mode is configured but no build command is provided.'
exit 1
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: /language:${{ matrix.language }}