From 368b0075c572e75b125727cbcb0b909eba6d86bb Mon Sep 17 00:00:00 2001 From: Huynh Buu Date: Mon, 26 Jan 2026 17:58:02 +0700 Subject: [PATCH 1/2] test config slack --- packages/nextjs/components/Dashboard/DashboardContainer.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/nextjs/components/Dashboard/DashboardContainer.tsx b/packages/nextjs/components/Dashboard/DashboardContainer.tsx index 886614e..65b2d3d 100644 --- a/packages/nextjs/components/Dashboard/DashboardContainer.tsx +++ b/packages/nextjs/components/Dashboard/DashboardContainer.tsx @@ -9,6 +9,8 @@ import { useInfiniteScroll, useMetaMultiSigWallet } from "~~/hooks"; import { useTransactionRealtime, useTransactionsInfinite } from "~~/hooks/api/useTransaction"; import { useIdentityStore } from "~~/services/store"; +//test config SLACK + export interface WalletData { signers: string[]; threshold: number; From 33e05ffb705cd7c6836b37415a2ad34a72f65f60 Mon Sep 17 00:00:00 2001 From: Huynh Buu Date: Mon, 26 Jan 2026 18:13:37 +0700 Subject: [PATCH 2/2] add config notify to Slack for backend and frontend --- .github/workflows/backend-ci.yaml | 19 +++++++++++++++++++ .github/workflows/frontend-ci.yaml | 19 +++++++++++++++++++ .../Dashboard/DashboardContainer.tsx | 2 -- 3 files changed, 38 insertions(+), 2 deletions(-) diff --git a/.github/workflows/backend-ci.yaml b/.github/workflows/backend-ci.yaml index b1fa882..ab30923 100644 --- a/.github/workflows/backend-ci.yaml +++ b/.github/workflows/backend-ci.yaml @@ -4,6 +4,7 @@ on: push: branches: - "main" + - "developer" paths: - "packages/backend/**" - "packages/shared/**" @@ -59,3 +60,21 @@ jobs: --region ${GCP_LOCATION} \ --platform managed \ --allow-unauthenticated + + - name: Notify Success to Slack Channel + if: success() + uses: slackapi/slack-github-action@v1.26.0 + with: + channel-id: ${{ secrets.SLACK_CHANNEL_ID }} + slack-message: "✅ Backend Deployment Successful!\nRepository: polypay-backend\nBranch: ${{ github.ref_name }}\nEnvironment: prod\nBuild Status: ${{ job.status }}\nTriggered by: ${{ github.actor }}\n${{ github.event.head_commit.url }}" + env: + SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} + + - name: Notify Failure to Slack Channel + if: failure() + uses: slackapi/slack-github-action@v1.26.0 + with: + channel-id: ${{ secrets.SLACK_CHANNEL_ID }} + slack-message: "❌ Backend Deployment Failed!\nRepository: polypay-backend\nBranch: ${{ github.ref_name }}\nEnvironment: prod\nBuild Status: ${{ job.status }}\nTriggered by: ${{ github.actor }}\n${{ github.event.head_commit.url }}" + env: + SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/frontend-ci.yaml b/.github/workflows/frontend-ci.yaml index 1e560d9..e122b70 100644 --- a/.github/workflows/frontend-ci.yaml +++ b/.github/workflows/frontend-ci.yaml @@ -4,6 +4,7 @@ on: push: branches: - "main" + - "developer" paths: - "packages/nextjs/**" - "packages/shared/**" @@ -60,3 +61,21 @@ jobs: --region ${GCP_LOCATION} \ --platform managed \ --allow-unauthenticated + + - name: Notify Success to Slack Channel + if: success() + uses: slackapi/slack-github-action@v1.26.0 + with: + channel-id: ${{ secrets.SLACK_CHANNEL_ID }} + slack-message: "✅ Frontend Deployment Successful!\nRepository: polypay-frontend\nBranch: ${{ github.ref_name }}\nEnvironment: prod\nBuild Status: ${{ job.status }}\nTriggered by: ${{ github.actor }}\n${{ github.event.head_commit.url }}" + env: + SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} + + - name: Notify Failure to Slack Channel + if: failure() + uses: slackapi/slack-github-action@v1.26.0 + with: + channel-id: ${{ secrets.SLACK_CHANNEL_ID }} + slack-message: "❌ Frontend Deployment Failed!\nRepository: polypay-frontend\nBranch: ${{ github.ref_name }}\nEnvironment: prod\nBuild Status: ${{ job.status }}\nTriggered by: ${{ github.actor }}\n${{ github.event.head_commit.url }}" + env: + SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} \ No newline at end of file diff --git a/packages/nextjs/components/Dashboard/DashboardContainer.tsx b/packages/nextjs/components/Dashboard/DashboardContainer.tsx index 65b2d3d..886614e 100644 --- a/packages/nextjs/components/Dashboard/DashboardContainer.tsx +++ b/packages/nextjs/components/Dashboard/DashboardContainer.tsx @@ -9,8 +9,6 @@ import { useInfiniteScroll, useMetaMultiSigWallet } from "~~/hooks"; import { useTransactionRealtime, useTransactionsInfinite } from "~~/hooks/api/useTransaction"; import { useIdentityStore } from "~~/services/store"; -//test config SLACK - export interface WalletData { signers: string[]; threshold: number;