Add job timeout

MSAL

Set timeout in .gitlab-ci.yml to prevent jobs from hanging indefinitely.

org.openrewrite.gitlab.AddTimeout

Required

The timeout duration.

Optional

The job to set timeout on. If not provided, applies to the default section.

acceptTheirsBoolean

When the setting already exists, prefer the original value.

mod run . --recipe=org.openrewrite.gitlab.AddTimeout \ -P timeout='1 hour'

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