From 04312b5795381eeb29f0ef36f366faad88a4e3eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9C=A4=EC=97=AC=EC=A4=80?= <30434779+Yun-YeoJun@users.noreply.github.com> Date: Mon, 3 Feb 2025 13:49:07 +0900 Subject: [PATCH 1/2] =?UTF-8?q?[fix]=20=EC=9B=8C=ED=81=AC=ED=94=8C?= =?UTF-8?q?=EB=A1=9C=EC=9A=B0=20=EC=9D=B4=EB=A6=84=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/code_test_pipeline.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/code_test_pipeline.yaml b/.github/workflows/code_test_pipeline.yaml index 4d6c153..cfa5569 100644 --- a/.github/workflows/code_test_pipeline.yaml +++ b/.github/workflows/code_test_pipeline.yaml @@ -1,4 +1,4 @@ -name: Code Test Pipeline +name: CI Pipeline on: pull_request: branches: ["dev", "main"] From 4c0484f7700d88e4892a41393785d95b5985c625 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9C=A4=EC=97=AC=EC=A4=80?= <30434779+Yun-YeoJun@users.noreply.github.com> Date: Thu, 6 Feb 2025 21:32:15 +0900 Subject: [PATCH 2/2] =?UTF-8?q?[feature]=20slack=20=EB=A9=94=EC=8B=9C?= =?UTF-8?q?=EC=A7=80=20=EC=A0=84=EC=86=A1=20=EC=9E=84=EC=8B=9C=20=EA=B5=AC?= =?UTF-8?q?=ED=98=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/code_test_pipeline.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/code_test_pipeline.yaml b/.github/workflows/code_test_pipeline.yaml index cfa5569..a6fdd19 100644 --- a/.github/workflows/code_test_pipeline.yaml +++ b/.github/workflows/code_test_pipeline.yaml @@ -73,3 +73,20 @@ jobs: if: always() with: files: "**/build/test-results/test/TEST-*.xml" + + report-to-slack: + runs-on: ubuntu-latest + needs: [ unit-test ] + steps: + - name: Report to Slack Channel + uses: slackapi/slack-github-action@v2.0.0 + with: + webhook: ${{ secrets.SLACK_WEBHOOK_URL }} + webhook-type: incoming-webhook + payload: | + text: "*GitHub Action build result*: ${{ job.status }}\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}" + blocks: + - type: "section" + text: + type: "mrkdwn" + text: "GitHub Action build result: ${{ job.status }}\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}"