From 0e7c371e56e408bcc06c06001b29593f488b8d31 Mon Sep 17 00:00:00 2001 From: Yang Cao Date: Mon, 30 Oct 2023 17:16:46 -0400 Subject: [PATCH] Remove slack integration first to avoid create noises. (#82) --- .github/workflows/canary.yaml | 18 +++++++++--------- .github/workflows/e2e_test.yml | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/canary.yaml b/.github/workflows/canary.yaml index 569c1cc..2b93b7f 100644 --- a/.github/workflows/canary.yaml +++ b/.github/workflows/canary.yaml @@ -56,12 +56,12 @@ jobs: cache_delete=$(gh actions-cache delete $CacheKey --branch $GITHUB_REF --confirm | grep "Deleted 1 cache entry with key") echo $cache_delete [[ -z "$cache_delete" ]] && exit 1 || echo "Cache Delete Successful" - - name: Slack Notification on failure - if: failure() - uses: 8398a7/action-slack@a74b761b4089b5d730d813fbedcd2ec5d394f3af - with: - text: actions/gh-actions-cache canary failure - status: ${{ job.status }} - fields: repo,workflow,message,author,action,ref - env: - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} + # - name: Slack Notification on failure + # if: failure() + # uses: 8398a7/action-slack@a74b761b4089b5d730d813fbedcd2ec5d394f3af + # with: + # text: actions/gh-actions-cache canary failure + # status: ${{ job.status }} + # fields: repo,workflow,message,author,action,ref + # env: + # SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} diff --git a/.github/workflows/e2e_test.yml b/.github/workflows/e2e_test.yml index 6935a83..11e1ac5 100644 --- a/.github/workflows/e2e_test.yml +++ b/.github/workflows/e2e_test.yml @@ -75,12 +75,12 @@ jobs: cache_delete=$(gh actions-cache delete $CacheKey --branch $GITHUB_REF --confirm | grep "Deleted 1 cache entry with key") echo $cache_delete [[ -z "$cache_delete" ]] && exit 1 || echo "Cache Delete Successful" - - name: Slack Notification on failure - if: failure() - uses: 8398a7/action-slack@a74b761b4089b5d730d813fbedcd2ec5d394f3af - with: - text: actions/gh-actions-cache E2E test failure - status: ${{ job.status }} - fields: repo,workflow,message,author,action,ref - env: - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} + # - name: Slack Notification on failure + # if: failure() + # uses: 8398a7/action-slack@a74b761b4089b5d730d813fbedcd2ec5d394f3af + # with: + # text: actions/gh-actions-cache E2E test failure + # status: ${{ job.status }} + # fields: repo,workflow,message,author,action,ref + # env: + # SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}