From f33218a3bbe70d495b470a2bdb5adad8398c936d Mon Sep 17 00:00:00 2001 From: hyeseon han Date: Tue, 23 Jan 2024 23:20:30 +0900 Subject: [PATCH] =?UTF-8?q?ci:=20build=20ci=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/workflow-pr.yml | 26 -------------------------- 1 file changed, 26 deletions(-) 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' - })