-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
7 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 |
---|---|---|
|
@@ -18,25 +18,25 @@ jobs: | |
- name: Checkout code | ||
- uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit | ||
fetch-depth: 0 # a full history is required for pull request analysis | ||
ref: ${{ github.event.pull_request.head.sha }} # PR에서 실제 커밋 체크아웃 | ||
fetch-depth: 0 # 풀 히스토리 필요 (PR 분석을 위해) | ||
|
||
- name: Setup pnpm | ||
uses: pnpm/action-setup@v4 | ||
with: | ||
version: 8 # 원하는 pnpm 버전 | ||
run_install: false # 의존성 설치를 수동으로 실행 | ||
version: 8 # pnpm 버전 | ||
run_install: false # 의존성 설치 수동으로 실행 | ||
dest: ~/setup-pnpm # pnpm 파일을 저장할 경로 | ||
package_json_file: package.json # package.json 경로 (기본값 유지) | ||
standalone: false # Node.js 없이 실행 가능하도록 standalone 설치 여부 | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
- name: 'Qodana Scan' | ||
- name: Qodana Scan | ||
uses: JetBrains/[email protected] | ||
with: | ||
pr-mode: false | ||
pr-mode: false # PR 모드 비활성화 (필요 시 활성화 가능) | ||
env: | ||
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN_592621362 }} | ||
QODANA_ENDPOINT: 'https://qodana.cloud' | ||
|
@@ -48,4 +48,7 @@ jobs: | |
webhook-url: ${{ secrets.DISCORD_WEBHOOK }} | ||
content: | | ||
🚨 Qodana 분석 실패! | ||
- PR: ${{ github.event.pull_request.html_url }} | ||
- **Repository**: ${{ github.repository }} | ||
- **Branch**: ${{ github.ref_name }} | ||
- **Commit**: [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }}) | ||
- **Pull Request**: ${{ github.event.pull_request.html_url }} |