Skip to content

Add secrets migration workflow#7

Open
kivra-carhar wants to merge 1 commit intomasterfrom
add-secrets-migration-1773134278
Open

Add secrets migration workflow#7
kivra-carhar wants to merge 1 commit intomasterfrom
add-secrets-migration-1773134278

Conversation

@kivra-carhar
Copy link

Summary

This PR adds a workflow to migrate secrets from org/repo level to the prod environment.

Secrets to Migrate

  • HEX_API_KEY

Discovered in Workflows

  • ci.yml: HEX_API_KEY

How to Use

  1. Merge this PR
  2. Go to ActionsMigrate Secrets to EnvironmentRun workflow
  3. Select the target environment (default: prod)
  4. Click Run workflow
  5. Verify the migration succeeded (check the workflow summary)
  6. Update your workflows to remove secrets: inherit
  7. Delete the migration workflow file

Why?

We're moving from org-level secrets to environment-level secrets for better security:

  • Scoped access: Environment secrets are only available to jobs using that environment
  • Branch protection: The prod environment only allows deployments from protected branches
  • Reduced blast radius: If a secret is exposed, it only affects one environment

Generated by migrate_secrets tool

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.

1 participant