Skip to content

Commit 1359c2f

Browse files
Add Qodana
1 parent 0fec7d0 commit 1359c2f

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-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+
name: Qodana
2+
on:
3+
workflow_dispatch:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
- master
9+
- 'release/*'
10+
11+
jobs:
12+
qodana:
13+
runs-on: ubuntu-latest
14+
permissions:
15+
contents: read
16+
pull-requests: write
17+
checks: write
18+
steps:
19+
- uses: actions/checkout@v4
20+
with:
21+
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
22+
fetch-depth: 0 # a full history is required for pull request analysis
23+
submodules: recursive
24+
- name: 'Qodana Scan'
25+
uses: JetBrains/[email protected]
26+
env:
27+
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}

qodana.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
version: "1.0"
2+
linter: jetbrains/qodana-js:2024.1

0 commit comments

Comments
 (0)