Title: @wordpress/project-management-automation
Published: March 9, 2021
Last modified: October 16, 2026

---

# @wordpress/project-management-automation

## In this article

 * [Installation and usage](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-project-management-automation/?output_format=md#installation-and-usage)
 * [API](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-project-management-automation/?output_format=md#api)
    - [Inputs](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-project-management-automation/?output_format=md#inputs)
    - [Outputs](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-project-management-automation/?output_format=md#outputs)
    - [Contributing to this package](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-project-management-automation/?output_format=md#contributing-to-this-package)

This is a [GitHub Action](https://help.github.com/en/categories/automating-your-workflow-with-github-actions)
which contains various automation to assist with managing the Gutenberg GitHub repository:

 * [First Time Contributor](https://github.com/WordPress/gutenberg/tree/HEAD/packages/project-management-automation/lib/tasks/first-time-contributor):
   Adds the “First Time Contributor” label to pull requests merged on behalf of 
   contributors that have not previously made a contribution, and prompts the user
   to link their GitHub account to their WordPress.org profile if necessary for 
   release notes credit.
 * [Add Milestone](https://github.com/WordPress/gutenberg/tree/HEAD/packages/project-management-automation/lib/tasks/add-milestone):
   Assigns the plugin release milestone to a pull request once it is merged.
 * [Assign Fixed Issues](https://github.com/WordPress/gutenberg/tree/HEAD/packages/project-management-automation/lib/tasks/assign-fixed-issues):
   Adds assignee for issues which are marked to be “Fixed” by a pull request, and
   adds the “In Progress” label.

# 󠀁[Installation and usage](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-project-management-automation/?output_format=md#installation-and-usage)󠁿

To use the action, include it in your workflow configuration file:

    ```language-yaml
    on: pull_request
    jobs:
        pull-request-automation:
            runs-on: ubuntu-latest
            steps:
                - uses: WordPress/gutenberg/packages/project-management-automation@trunk
                  with:
                      github_token: ${{ secrets.GITHUB_TOKEN }}
    ```

# 󠀁[API](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-project-management-automation/?output_format=md#api)󠁿

## 󠀁[Inputs](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-project-management-automation/?output_format=md#inputs)󠁿

 * `github_token`: Required. GitHub API token to use for making API requests. This
   should be stored as a secret in the GitHub repository.

## 󠀁[Outputs](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-project-management-automation/?output_format=md#outputs)󠁿

Each is empty unless the event it belongs to produced it, so a consumer should check
before using one.

 * `welcome-prompt`: Message welcoming a first-time contributor. Set when a pull
   request is opened by someone whose first it is.
 * `first-time-contributor-prompt`: Message asking a first-time contributor to link
   their WordPress.org profile. Set on a push that merged their first pull request,
   and only when no profile was found for them.
 * `first-time-contributor-pr-number`: Pull request the account link prompt belongs
   to. Set alongside `first-time-contributor-prompt`, since a push payload carries
   no pull request number of its own.

## 󠀁[Contributing to this package](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-project-management-automation/?output_format=md#contributing-to-this-package)󠁿

This is an individual package that’s part of the Gutenberg project. The project 
is organized as a monorepo. It’s made up of multiple self-contained software packages,
each with a specific purpose. The packages in this monorepo are published to [npm](https://www.npmjs.com/)
and used by [WordPress](https://make.wordpress.org/core/) as well as other software
projects.

To find out more about contributing to this package or Gutenberg as a whole, please
read the project’s main [contributor guide](https://github.com/WordPress/gutenberg/tree/HEAD/CONTRIBUTING.md).

First published

March 9, 2021

Last updated

October 16, 2026

Edit article

[ Improve it on GitHub: @wordpress/project-management-automation ](https://github.com/WordPress/gutenberg/edit/trunk/packages/project-management-automation/README.md)

[  Previous: @wordpress/primitives](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-primitives/)

[  Next: @wordpress/priority-queue](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-priority-queue/)