We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 835f60b commit 566df15Copy full SHA for 566df15
.github/workflows/code_quality.yml
@@ -0,0 +1,24 @@
1
+name: Qodana
2
+on:
3
+ workflow_dispatch:
4
+ pull_request:
5
+ push:
6
+ branches:
7
+ - master # The 'master' branch
8
+
9
+jobs:
10
+ qodana:
11
+ runs-on: ubuntu-latest
12
+ permissions:
13
+ contents: write
14
+ pull-requests: write
15
+ checks: write
16
+ steps:
17
+ - uses: actions/checkout@v3
18
+ with:
19
+ ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
20
+ fetch-depth: 0 # a full history is required for pull request analysis
21
+ - name: 'Qodana Scan'
22
+ uses: JetBrains/qodana-action@v2024.1
23
+ env:
24
+ QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
0 commit comments