Skip to content

Commit ecd3d43

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 a59bb3b commit ecd3d43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/check-certificates.yml

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

0 commit comments

Comments
 (0)