Skip to content

Commit 786a4d7

Browse files
committed
disable slack notification for testing
1 parent 7680844 commit 786a4d7

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

.github/workflows/check-certificates.yml

+23-23
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,17 @@ jobs:
6868
exit 1
6969
)
7070
71-
- name: Slack notification of certificate verification failure
72-
if: failure()
73-
env:
74-
SLACK_WEBHOOK: ${{ secrets.TEAM_CREATE_CHANNEL_SLACK_WEBHOOK }}
75-
SLACK_MESSAGE: |
76-
:warning::warning::warning::warning:
77-
WARNING: ${{ github.repository }} ${{ matrix.certificate.identifier }} verification failed!!!
78-
:warning::warning::warning::warning:
79-
SLACK_COLOR: danger
80-
MSG_MINIMAL: true
81-
uses: rtCamp/action-slack-notify@v2
71+
# - name: Slack notification of certificate verification failure
72+
# if: failure()
73+
# env:
74+
# SLACK_WEBHOOK: ${{ secrets.TEAM_CREATE_CHANNEL_SLACK_WEBHOOK }}
75+
# SLACK_MESSAGE: |
76+
# :warning::warning::warning::warning:
77+
# WARNING: ${{ github.repository }} ${{ matrix.certificate.identifier }} verification failed!!!
78+
# :warning::warning::warning::warning:
79+
# SLACK_COLOR: danger
80+
# MSG_MINIMAL: true
81+
# uses: rtCamp/action-slack-notify@v2
8282

8383
- name: Get days remaining before certificate expiration date
8484
env:
@@ -137,15 +137,15 @@ jobs:
137137
exit 1
138138
fi
139139
140-
- name: Slack notification of pending certificate expiration
141-
# Don't send spurious expiration notification if verification fails.
142-
if: failure() && steps.check-expiration.outcome == 'failure'
143-
env:
144-
SLACK_WEBHOOK: ${{ secrets.TEAM_CREATE_CHANNEL_SLACK_WEBHOOK }}
145-
SLACK_MESSAGE: |
146-
:warning::warning::warning::warning:
147-
WARNING: ${{ github.repository }} ${{ matrix.certificate.identifier }} will expire in ${{ steps.get-days-before-expiration.outputs.days }} days!!!
148-
:warning::warning::warning::warning:
149-
SLACK_COLOR: danger
150-
MSG_MINIMAL: true
151-
uses: rtCamp/action-slack-notify@v2
140+
# - name: Slack notification of pending certificate expiration
141+
# # Don't send spurious expiration notification if verification fails.
142+
# if: failure() && steps.check-expiration.outcome == 'failure'
143+
# env:
144+
# SLACK_WEBHOOK: ${{ secrets.TEAM_CREATE_CHANNEL_SLACK_WEBHOOK }}
145+
# SLACK_MESSAGE: |
146+
# :warning::warning::warning::warning:
147+
# WARNING: ${{ github.repository }} ${{ matrix.certificate.identifier }} will expire in ${{ steps.get-days-before-expiration.outputs.days }} days!!!
148+
# :warning::warning::warning::warning:
149+
# SLACK_COLOR: danger
150+
# MSG_MINIMAL: true
151+
# uses: rtCamp/action-slack-notify@v2

0 commit comments

Comments
 (0)