Skip to content

ci: welcome first-time contributors with intro-issue nudge#1967

Merged
brendancol merged 1 commit into
mainfrom
issue-1966
May 15, 2026
Merged

ci: welcome first-time contributors with intro-issue nudge#1967
brendancol merged 1 commit into
mainfrom
issue-1966

Conversation

@brendancol
Copy link
Copy Markdown
Contributor

Closes #1966.

Summary

  • New workflow .github/workflows/welcome-contributor.yml triggers on pull_request_target: [opened].
  • Gates: not draft, fork PR (not same-repo), and author is not MEMBER/OWNER/COLLABORATOR.
  • Looks up the author's issues for an existing Contributor intro: title; if none, posts one PR comment linking to the prefilled template.

Test plan

  • After merge, ask a collaborator with a personal GitHub account to open a no-op PR from a fork. Confirm the welcome comment appears.
  • Have them file the intro issue, then open a second PR from the same fork. Confirm no second comment.
  • Verify the run log prints Intro-issue count for <author>: N so we can debug branching if needed.

Adds a workflow that, on the first PR opened by a non-maintainer
contributor from a fork, posts a single friendly comment asking them
to file a New contributor introduction issue if they haven't already.

The check uses gh issue list against the author and a Contributor intro:
title prefix to avoid re-prompting people who already filed one.

Gating is modeled on copilot-review.yml: pull_request_target on opened
only, draft excluded, same-repo PRs excluded (which sidesteps the
author_association quirk), and MEMBER/OWNER/COLLABORATOR explicitly
excluded as a belt-and-braces filter.
@github-actions github-actions Bot added the performance PR touches performance-sensitive code label May 15, 2026
@brendancol brendancol merged commit 3d07c8d into main May 15, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance PR touches performance-sensitive code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: welcome first-time contributors with intro-issue nudge

1 participant