Add default keyword

MSAL

Add or update a keyword in the default section of .gitlab-ci.yml.

org.openrewrite.gitlab.AddDefaultKeyword

Required

The keyword to add under the default section.

The value for the keyword.

Optional

acceptTheirsBoolean

When the keyword already exists, prefer the original value.

mod run . --recipe=org.openrewrite.gitlab.AddDefaultKeyword \ -P keyword=image \ -P value=ruby:3.0

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