Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR(owlbot): Add support for Github Merge Queues #5322

Open
parthea opened this issue May 14, 2024 · 0 comments
Open

FR(owlbot): Add support for Github Merge Queues #5322

parthea opened this issue May 14, 2024 · 0 comments
Assignees
Labels
bot: owl-bot type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@parthea
Copy link
Contributor

parthea commented May 14, 2024

Currently Owlbot listens to the following Github events, but does not support the Github Queue Event webhook merge_group.checks_requested (See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#merge_group):

app.on(
[
'pull_request.opened',
'pull_request.synchronize',
'pull_request.reopened',
],

To add support for Github Merge Queues, Owlbot should also listen for the merge_group.checks_requested event

Note: The branch created by the Github Merge Queue will likely be read-only as the branch will be refs/heads/gh-readonly-queue/main/pr-xxxx. We may need to make adjustments so that Owlbot does not attempt to update the branch which is actively in the queue. Instead, owlbot should return success if the diff is empty and fail if the diff is not empty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: owl-bot type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

1 participant