Skip to content

Latest commit

 

History

History
61 lines (40 loc) · 2.6 KB

check-certificates.md

File metadata and controls

61 lines (40 loc) · 2.6 KB

"Check Certificates" workflow

Check code signing certificates for problems or pending expiration.

Installation

Workflow

Install the check-certificates.yml GitHub Actions workflow to .github/workflows/

Configuration

Replace TODO_REPO_OWNER/TODO_REPO_NAME with the repository's name in the jobs.check-certificates.if field of check-certificates.yml.

Set up Slack webhook

  1. Open https://arduino.slack.com/apps/A0F7XDUAZ-incoming-webhooks
  2. Click the "Add to Slack" button
  3. From the "Post to Channel" menu, select the appropriate channel.
  4. Click the "Add Incoming WebHooks integration" button
  5. From the "Customize Icon" section, click the "Choose an emoji" button
  6. Enter :warning:
  7. Click the "Save Settings" button
  8. Copy the text in the "Webhook URL" field
  9. 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.

Readme badge

Markdown badge:

[![Check Certificates status](https://github.com/TODO_REPO_OWNER/TODO_REPO_NAME/actions/workflows/check-certificates.yml/badge.svg)](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).

Commit message

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.

PR message

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.