Skip to content

chore: rename silver references to OpenGovMail - #293

Merged
maneesha-xyz merged 1 commit into
OpenGovMail:mainfrom
Aravinda-HWK:rename-silver-to-opengovmail
Aug 12, 2026
Merged

chore: rename silver references to OpenGovMail#293
maneesha-xyz merged 1 commit into
OpenGovMail:mainfrom
Aravinda-HWK:rename-silver-to-opengovmail

Conversation

@Aravinda-HWK

Copy link
Copy Markdown
Collaborator

Description

Renames the remaining 35 legacy silver / Silver / SILVER references to opengovmail / OpenGovMail / OPENGOVMAIL across 6 files.

Docs

  • docs/CONTRIBUTING.mdRaven (Silver Go IMAP)Raven (OpenGovMail Go IMAP) in the heading and intro

Auth test fixtures

  • internal/server/auth/authenticate_oauth_test.go, helpers_internal_test.go, authenticateuser_test.go — fixture domain silver.example.comopengovmail.example.com, OU handle silveropengovmail, user type silveruseropengovmailuser

CI workflows

  • .github/workflows/update-security-policy.yamlsecrets.SILVER_BOT_TOKENsecrets.OPENGOVMAIL_BOT_TOKEN, vars.SILVER_BOT_NAME/EMAILvars.OPENGOVMAIL_BOT_NAME/EMAIL, branch prefix silver-bot/opengovmail-bot/, and the "Silver Bot" step names and PR body text
  • .github/workflows/welcome-outside-contributors.yamlsecrets.SILVER_BOT_TOKENsecrets.OPENGOVMAIL_BOT_TOKEN

Closes #292

Type of change

  • Chore / maintenance

How to test

go test ./internal/server/auth/... — passes locally (ok raven/internal/server/auth 12.160s). Several of these tests assert on the exact fixture strings, so a partial rename would have failed the run.

⚠️ Merge blocker — org secrets must exist first

This PR renames CI secret and variable references. Those names are bound to entries in the org/repo settings, not to anything in this repo. Before merging, confirm all three exist under OpenGovMail with the same values and permissions as the current SILVER_BOT_* entries:

  • OPENGOVMAIL_BOT_TOKEN (secret)
  • OPENGOVMAIL_BOT_NAME (variable)
  • OPENGOVMAIL_BOT_EMAIL (variable)

If they are missing, GitHub resolves them to an empty string rather than failing the run, so the breakage is silent:

  • update-security-policy.yaml would check out and open its release PR with an empty token — the automated security-policy job breaks on the next release.
  • welcome-outside-contributors.yaml has a || github.token fallback, so it would quietly stop commenting as the bot and use the default token instead.

Once a release cycle confirms both workflows still pass, the old SILVER_BOT_* secret and variables can be deleted.

Notes for reviewers

Renames the remaining legacy "silver" naming: the CONTRIBUTING heading,
the auth test fixtures (silver.example.com, silver OU handle, silveruser
type), and the Silver Bot CI secrets, variables and branch prefix.

Closes OpenGovMail#292
@Aravinda-HWK Aravinda-HWK self-assigned this Aug 9, 2026

@maneesha-xyz maneesha-xyz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM.

@maneesha-xyz
maneesha-xyz merged commit 7080970 into OpenGovMail:main Aug 12, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename remaining 'silver' references to OpenGovMail

2 participants