---
title: Queue
description: Put your pull request into the merge queue.
---

The `queue` action allows you to put a pull request into the [merge
queue](/merge-queue). By placing pull requests in the queue, you can make sure
they are up-to-date and control their processing based on their priority.

If you have enabled [`auto_merge`](/merge-protections/auto-merge) in
`merge_protections_settings`, matching pull requests are added automatically
and you usually do not need this action. Use the action when you want explicit,
rule-driven or conditional enqueueing beyond what `queue_conditions` express.

## Parameters

| Key name | Value type | Default | Description | Status |
| --- | --- | --- | --- | --- |
| `allow_inplace_checks` | boolean or null | `null` | Deprecated: allow_inplace_checks on the queue action has no effect. | deprecated |
| `allow_merging_configuration_change` | boolean or null | `null` | Deprecated: this option is no longer effective and can be safely removed from the configuration. | deprecated |
| `commit_message_template` | template or null | `null` | Deprecated: moved to queue_rules[name].commit_message_template. | deprecated |
| `merge_bot_account` | template or null | `null` | Deprecated: moved to queue_rules[name].merge_bot_account. | deprecated |
| `merge_method` | `merge` or `rebase` or `squash` or `fast-forward` or `merge-batch` or null | `null` | Deprecated: moved to queue_rules[name].merge_method. | deprecated |
| `method` | `merge` or `rebase` or `squash` or `fast-forward` or `merge-batch` or null | `null` | Deprecated: renamed to merge_method and moved to queue_rules[name]. | deprecated |
| `name` | string or null | `null` | The name of the queue rule where the pull request should be added. If no name is set, queue_conditions will be applied instead. |  |
| `queue_branch_merge_method` | `fast-forward` or null | `null` | Deprecated: renamed to `merge_method` and moved to queue_rules[name]. | deprecated |
| `update_bot_account` | template or null | `null` | Deprecated: moved to queue_rules[name].update_bot_account. | deprecated |
| `update_method` | `rebase` or `merge` or null | `null` | Deprecated: moved to queue_rules[name].update_method. | deprecated |

## Examples

```yaml
pull_request_rules:
  - name: put PRs in queue
    conditions:
      - label = queue-me
    actions:
      queue:
```

In this example, any pull request that has the label `queue-me` will be
automatically queued. The pull request still needs to match the
`queue_conditions` defined in the queue to enter the queue.

:::note
  By default, Mergify injects your GitHub branch protections and ruleset
  rules as queue conditions. If some ruleset rules are incompatible with
  your queue setup, see [GitHub Rulesets
  Compatibility](/merge-queue/github-rulesets) for resolution steps.
:::
