@wordpress/project-management-automation Edit

This is a GitHub Action which contains various automation to assist with managing the Gutenberg GitHub repository:

  • add-first-time-contributor-label: Adds the ‘First Time Contributor’ label to PRs opened by contributors that have not yet made a commit.
  • add-milestone: Assigns the correct milestone to PRs once merged.
  • assign-fixed-issues: Assigns any issues ‘fixed’ by a newly opened PR to the author of that PR.

Installation and usage Installation and usage

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

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

Top ↑

API API

Inputs Inputs

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

Top ↑

Outputs Outputs

None.

Code is Poetry.