Remove workflow input argument

MSAL

Remove a specific input argument from calls to a reusable workflow.

org.openrewrite.github.RemoveWorkflowInputArgument

Required

The workflow reference to match (e.g., org/repo/.github/workflows/myWorkflow.yml).

The version of the workflow to match (e.g., v1.2.3).

The name of the input argument to remove.

mod run . --recipe=org.openrewrite.github.RemoveWorkflowInputArgument \ -P workflowReference=org/repo/.github/workflows/myWorkflow.yml \ -P version=v1.2.3 \ -P inputArgumentName=myInputToRemove

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