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

import Docset from '../../../components/DocsetGrid/Docset.astro';
import DocsetGrid from '../../../components/DocsetGrid/DocsetGrid.astro';
import MergeQueueIcon from '../../../components/MergeQueueIcon.astro';

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 so much more.

In essence, actions are the tasks that Mergify performs on your behalf to
automate your pull request management workflow. By carefully crafting and
combining actions, you can create a highly efficient and automated process
that takes care of most of the routine tasks associated with pull request
management.

<DocsetGrid>
  <Docset title="Assign" path="assign" icon="fa6-solid:user-plus">
    Assign a pull request to a user.
  </Docset>
  <Docset title="Backport" path="backport" icon="tabler:git-branch">
    Copy a pull request to another branch once it is merged.
  </Docset>
  <Docset title="Close" path="close" icon="fa6-solid:circle-xmark">
    Close a pull request.
  </Docset>
  <Docset title="Copy" path="copy" icon="fa6-solid:share-nodes">
    Copy a pull request.
  </Docset>
  <Docset title="Comment" path="comment" icon="fa-solid:list-alt">
    Comment a pull request.
  </Docset>
  <Docset title="Delete Head Branch" path="delete_head_branch" icon="bi:scissors">
    Delete pull request head branch.
  </Docset>
  <Docset title="Dismiss Reviews" path="dismiss_reviews" icon="tabler:message-x">
    Dismiss previous reviews on a pull request.
  </Docset>
  <Docset title="Edit" path="edit" icon="feather:type">
    Edit pull request body, title or draft state.
  </Docset>
  <Docset title="GitHub Actions" path="github_actions" icon="simple-icons:githubactions">
    Dispatch an existing GitHub workflow in the repository.
  </Docset>
  <Docset title="Label" path="label" icon="bi:patch-check-fill">
    Add, remove or toggle label 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="fa6-regular:circle-check">
    Deprecated — use Merge Protections instead.
  </Docset>
  <Docset title="Queue" path="queue" icon={MergeQueueIcon}>
    Add the pull request to the merge queue.
  </Docset>
  <Docset title="Rebase" path="rebase" icon="tabler: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="mdi:rate-review">
    Automate reviews for your pull requests with customizable comments and review types.
  </Docset>
  <Docset title="Update" path="update" icon="tabler:git-branch">
    Update the pull request branch with its base branch.
  </Docset>
  <Docset title="Squash" path="squash" icon="bi:stack">
    Squash commits in the pull request.
  </Docset>
</DocsetGrid>
