openrewrite / rewrite-gitlab

OpenRewrite recipes for GitLab.
Apache License 2.0
0 stars 1 forks source link

Add 'AddTemplate' recipe #4

Closed scuba10steve closed 1 month ago

scuba10steve commented 1 month ago

What problem are you trying to solve?

Introduce another 'building block' recipe for more complex scenarios

Describe the situation before applying the recipe

include:
  - template: Templates/Gradle.gitlab-ci.yml

Describe the situation after applying the recipe

include:
  - template: Gradle.gitlab-ci.yml
  - template: Jobs/SAST.gitlab-ci.yml

Are you interested in contributing this recipe to OpenRewrite?

I will have an associated PR shortly :)