Closed joanvr closed 11 months ago
Looks like we both worked on this one, with slightly different approaches: https://github.com/openrewrite/rewrite-github-actions/pull/87 Let me know which one you'd like to continue with.
I like the test you added here; I think we'd need to also be sure we don't always use the default pattern, by also delaying the use of the file pattern as seen in my PR.
What's changed?
Moved the logic from the constructor where we were parsing the cron parameter to the getVisitor
What's your motivation?
With recent changes in https://github.com/openrewrite/rewrite/pull/3404, it's no longer valid to do some logic with parameters in the constructor, since they can be not set up yet (nulls) and injected later on by reflection.
Anyone you would like to review specifically?
Any additional context
Detected this error while running the
org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_0
recipeChecklist