openrewrite / rewrite-github-actions

OpenRewrite recipes for performing GitHub action hygiene and migration tasks.
Apache License 2.0
9 stars 9 forks source link

AddCronTrigger - Add file matcher #69

Closed yeikel closed 1 year ago

yeikel commented 1 year ago

Given a repo with multiple workflows, the goal is to add a cron trigger to a specific file rather than the current global match

https://github.com/openrewrite/rewrite-github-actions/blob/main/src/main/java/org/openrewrite/github/AddCronTrigger.java#L47-L53