diff --git a/.github/workflows/workflow-pr.yml b/.github/workflows/workflow-pr.yml index 865a1df..0f73331 100644 --- a/.github/workflows/workflow-pr.yml +++ b/.github/workflows/workflow-pr.yml @@ -28,29 +28,3 @@ jobs: - name: Build run: yarn build - - # 빌드 실패한 경우에만 실행되는 step - - name: if build fail - if: ${{ failure() }} - uses: actions/github-script@v6 - with: - github-token: ${{ github.token }} - script: | - const pull_number = ${{ github.event.pull_request.number }} - const updated_title = `[BUILD FAIL] ${{ github.event.pull_request.title }}` - - await github.rest.pulls.createReview({ - owner: context.repo.owner, - repo: context.repo.repo, - pull_number: pull_number, - body: '빌드에 실패했습니다.', - event: 'REQUEST_CHANGES' - }) - - await github.rest.pulls.update({ - owner: context.repo.owner, - repo: context.repo.repo, - pull_number: pull_number, - title: updated_title, - state: 'closed' - })