这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@desrosj
Copy link
Member

@desrosj desrosj commented Aug 29, 2025

Props Bot is a GitHub Action that processes the activity on a pull request and any linked issues.

The bot attempts to associate each GitHub use account with a linked w.org one and outputs a formatted list of Co-authored-by trailers that can be copied and pasted into the merge commit message.

This ensures that everyone who contributed to a given merge receives props for their effort, and that the list of contributors is predictably formatted for easy processing.

This bot is currently in the following repositories under the WordPress organization:

More details about the bot can be found in the original announcement post on the Make WordPress Core blog.

Props Bot is a GitHub Action that processes the activity on a pull request and any linked issues.

The bot attempts to associate each GitHub use account with a linked w.org one and outputs a formatted list of `Co-authored-by` trailers that can be copied and pasted into the merge commit message.

This ensures that everyone who contributed to a given merge receives props for their effort, and that the list of contributors is predictably formatted for easy processing.

This bot is currently in the following repositories under the WordPress organization:
- https://github.com/WordPress/wordpress-develop
- https://github.com/WordPress/gutenberg
- https://github.com/WordPress/plugin-check
- https://github.com/WordPress/performance
- https://github.com/WordPress/grunt-patch-wordpress

More details about the bot can be found in the [original announcement post on the Make WordPress Core blog](https://make.wordpress.org/core/2024/02/01/new-commit-message-requirements-in-git-hello-props-bot/).
@desrosj desrosj self-assigned this Aug 29, 2025
Copilot AI review requested due to automatic review settings August 29, 2025 23:42
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a GitHub Actions workflow for Props Bot, which automatically generates formatted contributor attribution lists for pull requests. The workflow processes PR activity and linked issues to associate GitHub accounts with WordPress.org accounts, outputting Co-authored-by trailers for merge commit messages.

  • Adds comprehensive event triggers for PR interactions (comments, reviews, labels, etc.)
  • Implements security-conscious permissions and workflow structure using pull_request_target
  • Includes automatic label management to remove the props-bot label after processing

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@desrosj desrosj requested a review from jeffpaul August 29, 2025 23:46
Copy link
Contributor

@justlevine justlevine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@github-actions
Copy link

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: desrosj <desrosj@git.wordpress.org>
Co-authored-by: justlevine <justlevine@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@justlevine justlevine merged commit f41bf0e into trunk Aug 31, 2025
1 of 16 checks passed
@desrosj desrosj deleted the add/props-bot branch September 2, 2025 13:58
@jeffpaul jeffpaul added this to the 0.2.0 milestone Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants