Skip to content

ci: report app certificates that expire within 60 days - #1990

Open
miaulalala wants to merge 1 commit into
masterfrom
feat/certificate-expiry-issue
Open

miaulalala wants to merge 1 commit into
masterfrom
feat/certificate-expiry-issue

Conversation

@miaulalala

Copy link
Copy Markdown
Collaborator

Intent
App certificates are starting to expire (announcementcenter on 29 Nov, about ten more in late December). Renewal needs someone with SSH access to the signing machine to re-sign the existing CSR, so nobody should have to discover an expiry by accident. This adds a monthly report so the people who can act see what is coming.

What changed
A new workflow, certificate-expiry.yml, runs on the 1st of each month (and on demand). It reads the .crt files from the public nextcloud/app-certificate-requests repository and lists every certificate that expires within 60 days in one issue here:

  • first run: opens the issue and mentions the people who can re-sign
  • later runs: updates the list and adds a comment with the mentions (editing an issue body does not send notifications)
  • nothing expiring: closes the issue

It lives in this repository because app-certificate-requests has issues disabled; the certificates are public, so the list is too. It only needs the default token with issues: write.

What was tested
The listing step against the current certificate repository (1,149 certificates): it finds the same 18 certificates as a manual openssl check, sorted by expiry date. YAML validated.

What was not tested
The open/update/close step: it only runs on GitHub. After merge, a manual run (Actions → App certificate expiry → Run workflow) creates the first issue.

What the reviewer should focus on

  • Finding the existing issue by exact title and the github-actions author.
  • Whether the 1st-of-the-month schedule and the 60-day window give enough lead time.

This PR was written with the help of Claude Code (Opus 5.5); the author reviewed and signed off the change.

🤖 Generated with Claude Code

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Anna Larch <anna@nextcloud.com>
@miaulalala miaulalala added enhancement New feature or improvement request github_actions Pull requests that update GitHub Actions code labels Nov 24, 2026
@miaulalala miaulalala self-assigned this Nov 24, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or improvement request github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant