Skip to content

Commit

Permalink
docs: qodana_code_quality.yml 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
dahyeo-n authored Jan 9, 2025
1 parent 4382bb4 commit 74a10d8
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/qodana_code_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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 }}

0 comments on commit 74a10d8

Please sign in to comment.