Skip to content

Commit 302f010

Browse files
committed
Use standardized repository secret name for Slack webhook
The "Check Certificates" workflow is configured to send a notification via Slack if a problem is found with a certificate. TThis is currently posted to the `team_tooling` channel, but that is not necessarily always going to be the case, and for every deployment of the workflow. So a less specific secret name is more universally applicable to serve all applications of this "template" workflow.
1 parent 735d373 commit 302f010

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: .github/workflows/check-certificates.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
- name: Slack notification of certificate verification failure
6868
if: failure()
6969
env:
70-
SLACK_WEBHOOK: ${{ secrets.TEAM_TOOLING_CHANNEL_SLACK_WEBHOOK }}
70+
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
7171
SLACK_MESSAGE: |
7272
:warning::warning::warning::warning:
7373
WARNING: ${{ github.repository }} ${{ matrix.certificate.identifier }} verification failed!!!
@@ -121,7 +121,7 @@ jobs:
121121
# Don't send spurious expiration notification if verification fails.
122122
if: failure() && steps.check-expiration.outcome == 'failure'
123123
env:
124-
SLACK_WEBHOOK: ${{ secrets.TEAM_TOOLING_CHANNEL_SLACK_WEBHOOK }}
124+
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
125125
SLACK_MESSAGE: |
126126
:warning::warning::warning::warning:
127127
WARNING: ${{ github.repository }} ${{ matrix.certificate.identifier }} will expire in ${{ steps.get-days-before-expiration.outputs.days }} days!!!

0 commit comments

Comments
 (0)