Skip to content

Commit a8e3064

Browse files
authored
Create code_quality.yml (#329)
1 parent 5a6c783 commit a8e3064

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/code_quality.yml

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

0 commit comments

Comments
 (0)