Skip to content

ci: trial cert-expiry for prod TLS hosts - #2897

Merged
DerekRoberts merged 5 commits into
mainfrom
ci/cert-expiry-canary
Oct 17, 2026
Merged

DerekRoberts merged 5 commits into
mainfrom
ci/cert-expiry-canary

Conversation

@DerekRoberts

@DerekRoberts DerekRoberts commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Prod vanity-host TLS certificates can expire unnoticed; this adds a weekly check for them.

Summary

Canary trial of bcgov/actions-openshift/cert-expiry (released in v0.4.0).

  • Pinned to release commit 97cb3f8a5a6d134594c85224d3f593e3c0e90647 (v0.4.0)
  • Standalone .github/workflows/cert-expiry.yml (weekly Monday + workflow_dispatch); not a PR check, so no required check names change
  • Checks only ${{ vars.ROUTE_HOST }}; the job runs only when ROUTE_HOST is set
  • On findings, notifies CODEOWNERS via workflow-notifier @ v0.9.0

Add the standalone Cert Expiry workflow from actions-openshift, pinned to
the v0.4.0 release commit. Notifies CODEOWNERS when a cert is expiring,
expired or unreadable.
@DerekRoberts
DerekRoberts marked this pull request as ready for review October 15, 2026 22:58
Copilot AI balanced review requested due to automatic review settings October 15, 2026 22:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Environment-scoped vanity hosts are skipped, and no active owners are configured to receive alerts.

2 open findings
What changed in this PR

Adds a standalone canary workflow to monitor production TLS certificate expiry.

Changes:

  • Runs weekly and on manual dispatch.
  • Uses pinned shared actions to check certificates against a 30-day threshold.
  • Attempts CODEOWNERS notification through GitHub issues when findings occur.
File Description
.github/​workflows/​cert-expiry.yml Adds scheduled certificate checks and issue notifications.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/cert-expiry.yml Outdated
Comment thread .github/workflows/cert-expiry.yml
@DerekRoberts DerekRoberts self-assigned this Oct 15, 2026
@DerekRoberts DerekRoberts moved this from New to Active in DevOps (NR) Oct 15, 2026
@DerekRoberts
DerekRoberts merged commit 4a8c565 into main Oct 17, 2026
22 of 24 checks passed
@DerekRoberts
DerekRoberts deleted the ci/cert-expiry-canary branch October 17, 2026 00:30
@github-project-automation github-project-automation Bot moved this from Active to Done in DevOps (NR) Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants