Skip to content

Fix first-time contributor welcome for members and repeat PR authors - #89

Merged
juanfra merged 1 commit into
trunkfrom
fix/new-contributor-workflow
Sep 22, 2026
Merged

juanfra merged 1 commit into
trunkfrom
fix/new-contributor-workflow

Conversation

@juanfra

@juanfra juanfra commented Sep 22, 2026

Copy link
Copy Markdown
Member

Description

Fixes #88

This adds two checks before the existing commit lookups:

  • author_association — skip when it's OWNER, MEMBER orCOLLABORATOR. This is the field GitHub uses for its own badge, which the workflow wasn't reading at all. Maggie is a WordPress org member, so she reports MEMBER and is now skipped, matching the missing badge.
  • A type:pr author: search — skip when the author has already opened a PR here. The workflow was only counting commits, and you have no commits until your first PR merges, so every PR opened before that merge was greeted as the first. Maggie opened three before any had merged; now only the earliest would have qualified.

The commit checks stay below both, so contributors whose commits landed without a PR are still recognised.

Use of AI Tools

🤖 Co-authored with Claude Code

@juanfra juanfra added [Type] Tooling Issues or PRs related to tooling [Type] Enhancement A suggestion for improvement. GitHub Actions Pull requests that update GitHub Actions code labels Sep 22, 2026
@MaggieCabrera

Copy link
Copy Markdown
Contributor

Thanks!

@github-actions

Copy link
Copy Markdown

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: juanfra <juanfra@git.wordpress.org>
Co-authored-by: MaggieCabrera <onemaggie@git.wordpress.org>

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

@juanfra
juanfra merged commit 75016f1 into trunk Sep 22, 2026
7 of 8 checks passed
@juanfra
juanfra deleted the fix/new-contributor-workflow branch September 22, 2026 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GitHub Actions Pull requests that update GitHub Actions code [Type] Enhancement A suggestion for improvement. [Type] Tooling Issues or PRs related to tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix first contribution automated message

2 participants