Check code signing certificates for problems or pending expiration.
Install the check-certificates.yml
GitHub Actions workflow to .github/workflows/
Replace TODO_REPO_OWNER/TODO_REPO_NAME
with the repository's name in the jobs.check-certificates.if
field of check-certificates.yml
.
- Open https://arduino.slack.com/apps/A0F7XDUAZ-incoming-webhooks
- Click the "Add to Slack" button
- From the "Post to Channel" menu, select the appropriate channel.
- Click the "Add Incoming WebHooks integration" button
- From the "Customize Icon" section, click the "Choose an emoji" button
- Enter
:warning:
- Click the "Save Settings" button
- Copy the text in the "Webhook URL" field
- Save the webhook URL to a repository secret named
SLACK_WEBHOOK
- Make sure there is no newline at the end of the secret, otherwise the Slack post process will fail.
Markdown badge:
[](https://github.com/TODO_REPO_OWNER/TODO_REPO_NAME/actions/workflows/check-certificates.yml)
Replace the TODO_REPO_OWNER
and TODO_REPO_NAME
placeholders in the URLs with the final repository owner and name (example).
Asciidoc badge:
image:https://github.com/{repository-owner}/{repository-name}/actions/workflows/check-certificates.yml/badge.svg["Check Certificates status", link="https://github.com/{repository-owner}/{repository-name}/actions/workflows/check-certificates.yml"]
Define the {repository-owner}
and {repository-name}
attributes and use them throughout the readme (example).
Add CI workflow to check for problems with signing certificates
The workflow runs on a schedule to check for problems with the signing certificates and notify if any are found.
If a problem is found, a notification is posted to the Slack channel configured via the SLACK_WEBHOOK secret.
The workflow runs on a schedule to check for problems with the signing certificates and notify if any are found. If a problem is found, a notification is posted to the Slack channel configured via the `SLACK_WEBHOOK` secret.