[docs] #332 CLAUDE.md 파일 추가 #202
This file contains hidden or 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
| name: PR CI # Pull-Request 품질 게이트 | |
| on: | |
| pull_request: | |
| branches: [develop, prod] | |
| permissions: | |
| checks: write | |
| pull-requests: write # ← 새로 추가 | |
| jobs: | |
| verify: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: 17 | |
| cache: gradle | |
| - name: Gradle Test | |
| run: | | |
| chmod +x ./gradlew | |
| ./gradlew --info test | |
| - name: Publish Unit-Test Results | |
| uses: EnricoMi/publish-unit-test-result-action@v2 | |
| if: ${{ always() && hashFiles('build/test-results/test/**/*.xml') != '' }} | |
| with: | |
| files: build/test-results/**/*.xml | |
| comment_mode: off | |
| - name: Gradle Build (skip tests) | |
| if: ${{ success() }} | |
| run: ./gradlew clean assemble | |
| - name: 📢 Discord notify | |
| if: always() | |
| uses: sarisia/actions-status-discord@v1 | |
| with: | |
| webhook: ${{ secrets.DISCORD_WEBHOOK }} | |
| title: "${{ github.workflow }} – ${{ job.status }}" | |
| description: "**Ref**: ${{ github.ref_name }}\n**SHA**: ${{ github.sha }}" | |
| color: ${{ job.status == 'success' && '0x57F287' || '0xED4245' }} |