ReactSphere / ReactSphere/reactsphere-first-contribution

Auto-welcome First-Time Contributors

Open
#21 0 comments 0 reactions 0 assignees View on GitHub
enhancement github-config good first issue help wanted
Dominant language
No language data
Stars
10
Forks
9
Avg merge
16d 8h
Merged PRs (30d)
2

Description

# Auto-welcome First-Time Contributors

## Goal
Create a GitHub Action that welcomes first-time contributors who open PRs adding a single entry to `Contributors.md`.

## Requirements

**Trigger**
- pull_request (opened, synchronize)

**Validate**
- Only `Contributors.md` is changed
- Exactly one new entry added
- Format:
* [Name](https://github.com/username)

## Behavior

**On Success**
- Add labels: `first-timer`, `welcome`
- Comment:
🎉 Thanks for your first contribution!
Please check CONTRIBUTING.md and CODE_OF_CONDUCT.md.

**On Failure**
- Add label: `needs-fix`
- Comment:
⚠️ Please fix your PR:
- Only edit Contributors.md
- Add one entry only
- Use correct format

## Security
- Do not run code from forks
- Use safe validation (API or internal script)

## Acceptance Criteria
- Runs on PR open/sync
- Correct labels and comments applied
- Safe for forked PRs

## Test
- Valid PR → success
- Invalid PR → failure

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.