Skip to content

workflow for first time contributor#35

Merged
maryliag merged 3 commits into
open-telemetry:mainfrom
maryliag:first-timer
Jul 7, 2026
Merged

workflow for first time contributor#35
maryliag merged 3 commits into
open-telemetry:mainfrom
maryliag:first-timer

Conversation

@maryliag

@maryliag maryliag commented Jul 3, 2026

Copy link
Copy Markdown
Member

Adds a comment with guidance for first time contributors.
Option to add custom message at the end and to add custom label

@maryliag maryliag requested a review from a team as a code owner July 3, 2026 18:28
Copilot AI review requested due to automatic review settings July 3, 2026 18:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 adds a new reusable GitHub Actions workflow that welcomes first-time contributors when they open a pull request. It posts a customizable welcome comment (contributing guidelines, CLA reminder, etiquette links) and optionally applies a label. The change follows the repository's established shared-workflow layout (flat workflow file under .github/workflows/ plus a companion root docs folder), mirroring the existing zizmor reusable workflow, and adds a catalog row to the top-level README. Security-wise it correctly avoids using PR-author-controlled content and guards pull_request_target with an org-owner check and author_association == 'NONE'.

Changes:

  • New reusable workflow_call workflow .github/workflows/first-time-pr.yml with custom_message and labels inputs, org/first-time-contributor gating, and comment/label steps.
  • New consumer docs first-time-pr/README.md with usage snippet, inputs table, default comment body, and firing conditions.
  • New catalog row in README.md for the First-time contributor workflow.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/first-time-pr.yml Implements the reusable workflow: inputs, permissions, concurrency, gating condition, label step, and heredoc-based welcome comment.
first-time-pr/README.md Consumer-facing documentation: usage, inputs, default comment, custom example, and firing conditions.
README.md Adds a catalog row linking to the new workflow and its README.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/first-time-pr.yml Outdated
Comment thread .github/workflows/first-time-pr.yml Outdated
Comment thread .github/workflows/first-time-pr.yml Outdated
@maryliag maryliag merged commit a91e4c7 into open-telemetry:main Jul 7, 2026
5 checks passed
@maryliag maryliag deleted the first-timer branch July 7, 2026 17:00
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.

3 participants