Remove slack integration first to avoid create noises. (#82)
This commit is contained in:
18
.github/workflows/canary.yaml
vendored
18
.github/workflows/canary.yaml
vendored
@@ -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 }}
|
||||
|
||||
18
.github/workflows/e2e_test.yml
vendored
18
.github/workflows/e2e_test.yml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user