Compare commits

..

No commits in common. "e729ffcd4169d9605dda8d163b8e9ac03f1db24f" and "37b76d17f495b826ccc282fcbbb438ef736886da" have entirely different histories.

3 changed files with 4 additions and 57 deletions

View File

@ -1,16 +1,9 @@
name: Qodana name: Qodana
on: on:
workflow_dispatch: workflow_dispatch:
inputs:
target_ref:
description: 'Branch, tag, or commit SHA to analyze (default: develop)'
required: false
default: 'develop'
type: string
pull_request: pull_request:
push: push:
branches: # Specify your branches here branches: # Specify your branches here
- master
- main # The 'main' branch - main # The 'main' branch
- develop - develop
- 'releases/*' # The release branches - 'releases/*' # The release branches
@ -23,35 +16,14 @@ jobs:
pull-requests: write pull-requests: write
checks: write checks: write
steps: steps:
# Checkout for pull_request events: use the PR head SHA for accurate analysis - uses: actions/checkout@v3
- name: Checkout (pull_request)
if: ${{ github.event_name == 'pull_request' }}
uses: actions/checkout@v4
with: with:
ref: ${{ github.event.pull_request.head.sha }} ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
fetch-depth: 0 # a full history is required for pull request analysis fetch-depth: 0 # a full history is required for pull request analysis
# Checkout for manual runs: use the selected branch/ref (default: develop)
- name: Checkout (workflow_dispatch)
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: actions/checkout@v4
with:
ref: ${{ inputs.target_ref }}
fetch-depth: 0
# Checkout for push events (e.g., merges to develop): use the current commit
- name: Checkout (push)
if: ${{ github.event_name == 'push' }}
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 'Qodana Scan' - name: 'Qodana Scan'
uses: JetBrains/qodana-action@v2025.2 uses: JetBrains/qodana-action@v2025.2
with: with:
# Enable PR-specific reporting only for pull_request events pr-mode: false
pr-mode: ${{ github.event_name == 'pull_request' }}
# Pass the linter image via args (the action does not support an `image` input)
args: --image jetbrains/qodana-jvm:2025.2
env: env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN_268690425 }} QODANA_TOKEN: ${{ secrets.QODANA_TOKEN_268690425 }}
QODANA_ENDPOINT: 'https://qodana.cloud' QODANA_ENDPOINT: 'https://qodana.cloud'

View File

@ -1,5 +0,0 @@
# Contributor Code of Conduct
This project adheres to No Code of Conduct. We are all adults. We accept anyone's contributions. Nothing else matters.
For more information please visit the [No Code of Conduct](https://nocodeofconduct.com) homepage.

View File

@ -6,25 +6,5 @@ version: "1.0"
linter: jetbrains/qodana-jvm:2025.2 linter: jetbrains/qodana-jvm:2025.2
profile: profile:
name: qodana.recommended name: qodana.recommended
bootstrap: |
# Generate sources (including protobuf) so Qodana resolves imports correctly
# Prefer Maven Wrapper if present; fall back to system mvn (POSIX sh compatible)
# Ensure mvnw is executable if present
if [ -f ./mvnw ]; then chmod +x ./mvnw || true; fi
if [ -x ./mvnw ]; then
./mvnw -B -q -DskipTests -DskipITs=true generate-sources || true
elif [ -f ./mvnw ]; then
sh ./mvnw -B -q -DskipTests -DskipITs=true generate-sources || true
elif command -v mvn >/dev/null 2>&1; then
mvn -B -q -DskipTests -DskipITs=true generate-sources || true
else
echo "[Qodana bootstrap] Maven not available; skipping source generation"
fi
include: include:
- name: CheckDependencyLicenses - name: CheckDependencyLicenses
exclude:
# Exclude generated sources from inspections to reduce noise
- name: All
paths:
- target/generated-sources/**
- target/protoc-dependencies/**