Replace secret key names in GitHub Actions
MSALReplace key names used for secrets in GitHub Actions workflow files.
org. openrewrite. github. ReplaceSecretKeysRequired
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_usernameInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.