Skip to content

Commit e1d6f44

Browse files
[2023-07-12]: Pull Request Merge Queue - [GA] (github#36955)
Co-authored-by: Jules <19994093+jules-p@users.noreply.github.com>
1 parent f2b5c53 commit e1d6f44

File tree

9 files changed

+16
-33
lines changed

9 files changed

+16
-33
lines changed

content/actions/using-workflows/events-that-trigger-workflows.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -382,16 +382,14 @@ on:
382382
types: [created, deleted]
383383
```
384384

385-
{% ifversion fpt or ghec %}
385+
{% ifversion merge-queue %}
386386

387387
## `merge_group`
388388

389389
| Webhook event payload | Activity types | `GITHUB_SHA` | `GITHUB_REF` |
390390
| --------------------- | -------------- | ------------ | -------------|
391391
| [`merge_group`](/webhooks-and-events/webhooks/webhook-events-and-payloads#merge_group) | `checks_requested` | SHA of the merge group | Ref of the merge group |
392392

393-
{% data reusables.pull_requests.merge-queue-beta %}
394-
395393
{% note %}
396394

397395
**Note**: {% data reusables.developer-site.multiple_activity_types %} Although only the `checks_requested` activity type is supported, specifying the activity type will keep your workflow specific if more activity types are added in the future. For information about each activity type, see "[AUTOTITLE](/webhooks-and-events/webhooks/webhook-events-and-payloads#merge_group)." {% data reusables.developer-site.limit_workflow_to_activity_types %}

content/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/merging-a-pull-request-with-a-merge-queue.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
title: Merging a pull request with a merge queue
33
intro: 'If a merge queue is required by the branch protection setting for the branch, you can add your pull requests to a merge queue and {% data variables.product.product_name %} will merge the pull requests for you once all required checks have passed.'
44
versions:
5-
fpt: '*'
6-
ghec: '*'
5+
feature: merge-queue
76
topics:
87
- Pull requests
98
shortTitle: Merge PR with merge queue
@@ -14,8 +13,6 @@ defaultTool: webui
1413
product: '{% data reusables.gated-features.merge-queue %}'
1514
---
1615

17-
{% data reusables.pull_requests.merge-queue-beta %}
18-
1916
## About merge queues
2017

2118
{% data reusables.pull_requests.merge-queue-overview %}

content/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/about-merge-methods-on-github.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ shortTitle: About merge methods
1616
---
1717
{% data reusables.pull_requests.configure_pull_request_merges_intro %} You can enforce one type of merge method, such as commit squashing or rebasing, by only enabling the desired method for your repository.
1818

19-
{% ifversion fpt or ghec %}
19+
{% ifversion merge-queue %}
2020
{% note %}
2121

2222
**Note:** When using the merge queue, you no longer get to choose the merge method, as this is controlled by the queue. {% data reusables.pull_requests.merge-queue-references %}

content/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
title: Managing a merge queue
33
intro: You can increase development velocity with a merge queue for pull requests in your repository.
44
versions:
5-
fpt: '*'
6-
ghec: '*'
5+
feature: merge-queue
76
permissions: People with admin permissions can manage merge queues for pull requests targeting selected branches of a repository.
87
product: '{% data reusables.gated-features.merge-queue %}'
98
topics:
@@ -14,8 +13,6 @@ redirect_from:
1413
- /repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/using-a-merge-queue
1514
---
1615

17-
{% data reusables.pull_requests.merge-queue-beta %}
18-
1916
## About merge queues
2017

2118
{% data reusables.pull_requests.merge-queue-overview %}

content/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/about-protected-branches.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ For each branch protection rule, you can choose to enable or disable the followi
5757
- [Require conversation resolution before merging](#require-conversation-resolution-before-merging)
5858
- [Require signed commits](#require-signed-commits)
5959
- [Require linear history](#require-linear-history)
60-
{% ifversion fpt or ghec %}
60+
{% ifversion merge-queue %}
6161
- [Require merge queue](#require-merge-queue)
6262
{% endif %}
6363
{%- ifversion required-deployments %}
@@ -158,11 +158,10 @@ Enforcing a linear commit history prevents collaborators from pushing merge comm
158158

159159
Before you can require a linear commit history, your repository must allow squash merging or rebase merging. For more information, see "[AUTOTITLE](/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges)."
160160

161-
{% ifversion fpt or ghec %}
161+
{% ifversion merge-queue %}
162162

163163
### Require merge queue
164164

165-
{% data reusables.pull_requests.merge-queue-beta %}
166165
{% data reusables.pull_requests.merge-queue-overview %}
167166

168167
{% data reusables.pull_requests.merge-queue-merging-method %}

content/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/managing-a-branch-protection-rule.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,8 @@ When you create a branch rule, the branch you specify doesn't have to exist yet
8181
1. Optionally, select **Require conversation resolution before merging**.
8282
1. Optionally, select **Require signed commits**.
8383
1. Optionally, select **Require linear history**.
84-
{%- ifversion fpt or ghec %}
84+
{%- ifversion merge-queue %}
8585
1. Optionally, to merge pull requests using a merge queue, select **Require merge queue**. {% data reusables.pull_requests.merge-queue-references %}
86-
87-
{% tip %}
88-
89-
**Tip:** The pull request merge queue feature is currently in public beta and subject to change.
90-
91-
{% endtip %}
9286
{%- endif %}
9387
{%- ifversion required-deployments %}
9488
1. Optionally, to choose which environments the changes must be successfully deployed to before merging, select **Require deployments to succeed before merging**, then select the environments.

content/search-github/searching-on-github/searching-issues-and-pull-requests.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,16 @@ You can filter issues and pull requests based on whether they're open or closed
7272
| `is:open` | [**performance is:open is:issue**](https://github.com/search?q=performance+is%3Aopen+is%3Aissue&type=Issues) matches open issues with the word "performance."
7373
| `is:closed` | [**android is:closed**](https://github.com/search?utf8=%E2%9C%93&q=android+is%3Aclosed&type=) matches closed issues and pull requests with the word "android."
7474

75+
{% ifversion merge-queue %}
7576
## Search for pull requests in the merge queue
7677

77-
{% data reusables.pull_requests.merge-queue-beta %}
78-
7978
You can also use the `is` qualifier to find pull requests that are queued to merge.
8079

8180
| Qualifier | Example |
8281
| --- | --- |
83-
| `is:queued` | [**is:queued**](https://github.com/search?q=is%3Aqueued&type=pullrequests) matches pull requests that are currently queued to merge. |
82+
| `is:queued` | [**is:queued**](https://github.com/search?q=is%3Aqueued&type=pullrequests) matches pull requests that are currently queued to merge.
83+
84+
{% endif %}
8485

8586
{% ifversion issue-close-reasons %}
8687

data/features/merge-queue.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Reference: #10195
2+
versions:
3+
fpt: '*'
4+
ghec: '*'
5+
ghes: '>=3.11'

data/reusables/pull_requests/merge-queue-beta.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)