forked from aws/aws-advanced-jdbc-wrapper
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (38 loc) · 1.07 KB
/
code_quality.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Qodana
on:
workflow_dispatch:
push:
branches:
- main
- 'releases/*'
pull_request:
branches:
- '*'
paths-ignore:
- '**/release_draft.yml'
- '**/maven*.yml'
jobs:
qodana:
runs-on: ubuntu-latest
steps:
- name: 'Clone repository'
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: 'Get changed files'
uses: tj-actions/changed-files@v37
id: changed-files-specific
with:
files_yaml: |
doc:
- '**/*.md'
- '**/docs/**'
- '**/*.jpg'
- '**/*.png'
- name: 'Check changed files'
id: changed-files
if: ${{steps.changed-files-specific.outputs.doc_only_changed == 'false' && steps.changed-files-specific.outputs.doc_only_modified == 'false'}}
run: echo "ONLY_DOCS=false" >> $GITHUB_OUTPUT
- name: 'Qodana Scan'
if: ${{steps.changed-files.outputs.ONLY_DOCS && steps.changed-files.outputs.ONLY_DOCS == 'false'}}
uses: JetBrains/[email protected]