Skip to content

Commit f4f7269

Browse files
committed
Activate JetBrains Qodana scanner
1 parent 2315deb commit f4f7269

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/qodana.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# https://www.jetbrains.com/help/qodana/cloud-forward-reports.html#cloud-forward-reports-github-actions
2+
3+
name: Qodana
4+
on:
5+
workflow_dispatch:
6+
pull_request:
7+
push:
8+
branches:
9+
- master
10+
- 'release/*'
11+
12+
jobs:
13+
qodana:
14+
runs-on: ubuntu-latest
15+
permissions:
16+
contents: write
17+
pull-requests: write
18+
checks: write
19+
steps:
20+
- uses: actions/checkout@v3
21+
with:
22+
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
23+
fetch-depth: 0 # a full history is required for pull request analysis
24+
- name: 'Qodana Scan'
25+
uses: JetBrains/qodana-action@v2023.2
26+
env:
27+
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}

0 commit comments

Comments
 (0)