Skip to content

Commit 2e07e7f

Browse files
committed
add qodana
1 parent 99035a8 commit 2e07e7f

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/qodana.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#file: noinspection YAMLSchemaValidation
2+
name: Qodana
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
branches:
7+
- main
8+
push:
9+
branches:
10+
- main
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/[email protected]
26+
env:
27+
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}

0 commit comments

Comments
 (0)