-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add qodana.yaml file * Add github workflow file * chore:qodana_code_quality을 수정한다 --------- Co-authored-by: Qodana Application <[email protected]> Co-authored-by: 황재웅 <[email protected]>
- Loading branch information
1 parent
3907419
commit bb50b62
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Qodana | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
- develop | ||
- 'feat-*' | ||
- 'releases-*' | ||
|
||
jobs: | ||
qodana: | ||
runs-on: ubuntu-22.04 | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
checks: write | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: 'Qodana Scan' | ||
uses: JetBrains/[email protected] | ||
with: | ||
args: --baseline,qodana.sarif.json | ||
pr-mode: true | ||
env: | ||
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN_624885005 }} | ||
|
||
- name: 'Display Qodana logs' | ||
if: failure() | ||
run: | | ||
echo "Qodana logs:" | ||
cat /home/runner/work/_temp/qodana/results/qodana.sarif.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: "1.0" | ||
linter: jetbrains/qodana-js:2024.1 | ||
profile: | ||
name: qodana.recommended | ||
include: | ||
- name: CheckDependencyLicenses |