Skip to content

ci: sync the "Needs WP.org Link" label from the props-bot comment - #279

Merged
josephfusco merged 2 commits into
mainfrom
ci/sync-wporg-link-label
Aug 14, 2026
Merged

ci: sync the "Needs WP.org Link" label from the props-bot comment#279
josephfusco merged 2 commits into
mainfrom
ci/sync-wporg-link-label

Conversation

@josephfusco

Copy link
Copy Markdown
Collaborator

Summary

Keeps the Needs WP.org Link label in sync with whether the props-bot comment still has an ## Unlinked Accounts section, so unlinked PRs are visible in the PR list without opening each props comment.

The Sort props step already fetches the props comment and already determines whether the Unlinked Accounts section survives its own rewrite, so this reuses that instead of adding a separate step with a second API round-trip. Repo-specific behavior on top of the upstream props-bot-action, so it lives here rather than upstream.

Use of AI Tools

AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Sonnet 5
Used for: Assisting with implementation and verifying the label add/remove logic against comment-body fixtures

The Sort props step already knows whether the Unlinked Accounts section
survives its own rewrite, so it also keeps this label in sync rather than
duplicating that check in a separate step. Repo-specific behavior on top
of the upstream props-bot-action, so it lives here rather than upstream.
Shorten the step name and pull owner/repo/issue_number into locals
once instead of repeating context.repo.* on every API call.
@josephfusco
josephfusco marked this pull request as ready for review August 14, 2026 13:17
@josephfusco
josephfusco merged commit 3585fd2 into main Aug 14, 2026
17 checks passed
@josephfusco
josephfusco deleted the ci/sync-wporg-link-label branch August 14, 2026 13:17
@github-actions

Copy link
Copy Markdown
Contributor

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.

Core Committers: Use this line as a base for the props when committing in SVN:

Props joefusco.

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

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.

1 participant