Replace GitHub Action secret names

MSAL

Replace references to GitHub Action secrets in workflow files.

org.openrewrite.github.ReplaceSecrets

Required

The name of the secret to be replaced

The new secret name to use

Optional

Optional file path matcher

mod run . --recipe=org.openrewrite.github.ReplaceSecrets \ -P oldSecretName=OSSRH_S01_USERNAME \ -P newSecretName=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.