---
title: Actions
description: A complete list of actions you can use with Mergify.
---

Actions are the engine that powers Mergify. They define what Mergify should do
when a set of conditions is met. This can range from merging a pull request,
updating it with the latest changes, commenting on the pull request, assigning
it to a user, adding labels, and more.

Actions are the tasks that Mergify performs on your behalf. By combining
actions, you can automate most of the routine tasks associated with pull
request management.

<DocsetGrid>
  <Docset title="Assign" path="assign" icon="lucide:user-plus">
    Assign a pull request to a user.
  </Docset>
  <Docset title="Backport" path="backport" icon="lucide:git-branch">
    Copy a pull request to another branch once it is merged.
  </Docset>
  <Docset title="Close" path="close" icon="lucide:circle-x">
    Close a pull request.
  </Docset>
  <Docset title="Copy" path="copy" icon="lucide:share-2">
    Copy a pull request to another branch.
  </Docset>
  <Docset title="Comment" path="comment" icon="lucide:message-square">
    Post a comment on a pull request.
  </Docset>
  <Docset title="Delete Head Branch (Deprecated)" path="delete_head_branch" icon="lucide:scissors">
    Deprecated. Use GitHub's built-in "Automatically delete head branches" setting instead.
  </Docset>
  <Docset title="Dismiss Reviews" path="dismiss_reviews" icon="lucide:message-square-x">
    Dismiss previous reviews on a pull request.
  </Docset>
  <Docset title="Edit" path="edit" icon="octicon:git-pull-request-draft-16">
    Convert a pull request to or from a draft.
  </Docset>
  <Docset title="GitHub Actions (Deprecated)" path="github_actions" icon="simple-icons:githubactions">
    Deprecated. Start your workflows from GitHub Actions events instead.
  </Docset>
  <Docset title="Label" path="label" icon="lucide:badge-check">
    Add, remove, or toggle labels on a pull request.
  </Docset>
  <Docset title="Merge" path="merge" icon="octicon:git-merge-16">
    Automate the merging of your pull requests.
  </Docset>
  <Docset title="Post Check (Deprecated)" path="post_check" icon="lucide:circle-check">
    Deprecated. Use Merge Protections instead.
  </Docset>
  <Docset title="Queue" path="queue" icon="mergify:merge-queue" neutral>
    Add the pull request to the merge queue.
  </Docset>
  <Docset title="Rebase" path="rebase" icon="lucide:git-branch">
    Rebase the pull request on top of its base branch.
  </Docset>
  <Docset title="Request Reviews" path="request_reviews" icon="octicon:code-review-16">
    Request reviews from specific users or teams.
  </Docset>
  <Docset title="Review" path="review" icon="lucide:message-square-text">
    Automate reviews for your pull requests with customizable comments and review types.
  </Docset>
  <Docset title="Update" path="update" icon="lucide:git-branch">
    Update the pull request branch with its base branch.
  </Docset>
  <Docset title="Squash" path="squash" icon="lucide:layers">
    Squash commits in the pull request.
  </Docset>
</DocsetGrid>
