Skip to content

Add merge group workflow trigger recipe - #218

Merged
timtebeek merged 1 commit into
openrewrite:mainfrom
Wanbinyu:add-merge-group-trigger
Aug 23, 2026
Merged

Add merge group workflow trigger recipe#218
timtebeek merged 1 commit into
openrewrite:mainfrom
Wanbinyu:add-merge-group-trigger

Conversation

@Wanbinyu

@Wanbinyu Wanbinyu commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

What's changed?

  • Add org.openrewrite.github.AddMergeGroupTrigger.
  • Apply it only to GitHub Actions workflows with a pull_request trigger.
  • Cover positive, negative, idempotency, and file-path cases.
  • Regenerate recipes.csv.

What's your motivation?

Workflows must subscribe to merge_group for required checks to run in a GitHub merge queue.

Checklist

  • I've added unit tests to cover both positive and negative cases
  • I've read and applied the recipe conventions and best practices
  • I've run ./gradlew build locally, and committed resulting changes to recipes.csv
  • I've formatted the lines I changed, without reformatting code I didn't touch

@github-project-automation github-project-automation Bot moved this to In Progress in OpenRewrite Aug 23, 2026
@Wanbinyu
Wanbinyu marked this pull request as ready for review August 23, 2026 14:04
@timtebeek
timtebeek merged commit 8da116a into openrewrite:main Aug 23, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in OpenRewrite Aug 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Add merge_group build trigger

2 participants