Files
aiturk-mobil/.github/workflows/codeql.yml
T
e4004decb4 release: promote dev to main for v1.30.0 (#1271)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Lx-204 <15377891490@163.com>
Co-authored-by: AlexDev_ <56083016+alexdev03@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nikhil Nair <32665919+nikhilnair31@users.noreply.github.com>
Co-authored-by: marciodps <95321123+marciodps@users.noreply.github.com>
2026-09-25 23:23:12 +03:00

88 lines
2.1 KiB
YAML

name: "CodeQL Analysis"
on:
push:
branches: [ "main", "dev" ]
paths-ignore:
- '**.md'
- 'docs/**'
- '.github/PULL_REQUEST_TEMPLATE.md'
- '.github/workflows/pr-labeler.yml'
- '.github/workflows/stale.yml'
- '.github/workflows/merge-conflict-detector.yml'
- 'LICENSE'
- 'fastlane/**'
- '.gitignore'
- '.editorconfig'
- '.envrc'
- '*.html'
pull_request:
branches: [ "main", "dev" ]
paths-ignore:
- '**.md'
- 'docs/**'
- '.github/PULL_REQUEST_TEMPLATE.md'
- '.github/workflows/pr-labeler.yml'
- '.github/workflows/stale.yml'
- '.github/workflows/merge-conflict-detector.yml'
- 'LICENSE'
- 'fastlane/**'
- '.gitignore'
- '.editorconfig'
- '.envrc'
- '*.html'
schedule:
- cron: '30 3 * * 1' # Runs at 03:30 UTC every Monday
permissions:
contents: read
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'java-kotlin' ]
steps:
- name: Checkout Repository
uses: actions/checkout@v7
- name: Set up JDK 21
uses: actions/setup-java@v6
with:
distribution: 'temurin'
java-version: '21'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v6
with:
validate-wrappers: true
cache-provider: basic # keep 100% MIT — avoid proprietary gradle-actions-caching
- name: Grant Execute Permission for Gradlew
run: chmod +x gradlew
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
build-mode: manual
tools: https://github.com/github/codeql-action/releases/download/codeql-bundle-v2.27.1/codeql-bundle-linux64.tar.gz
- name: Build Codebase (Compile Only)
run: |
./gradlew compileDebugSources --no-daemon --no-build-cache
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: "/language:${{matrix.language}}"