#52 feat: 문제 관리 UI 구현 및 API 연동 #17
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: Release Drafter | |
| on: | |
| push: | |
| branches: | |
| - release/* | |
| - main | |
| # PR 이벤트 추가로 자동화 범위 확대 | |
| pull_request: | |
| types: [opened, reopened, synchronize] | |
| permissions: | |
| contents: write | |
| pull-requests: read | |
| jobs: | |
| update_release_draft: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Checkout 단계 제거 (불필요한 작업 생략) | |
| - name: Update Draft Release | |
| if: startsWith(github.ref, 'refs/heads/release/') || github.event_name == 'pull_request' | |
| uses: release-drafter/release-drafter@v6 | |
| with: | |
| config-name: template/release-drafter.yml | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Publish Release | |
| if: github.ref == 'refs/heads/main' && github.event_name == 'push' | |
| uses: release-drafter/release-drafter@v6 | |
| with: | |
| config-name: template/release-drafter.yml | |
| publish: true | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |