Replace secret key names in GitHub Actions

MSAL

Replace key names used for secrets in GitHub Actions workflow files.

org.openrewrite.github.ReplaceSecretKeys

Required

The name of the key to be replaced

The new key name to use

Optional

Optional file path matcher

mod run . --recipe=org.openrewrite.github.ReplaceSecretKeys \ -P oldKeyName=ossrh_username \ -P newKeyName=sonatype_username

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.