Skip to content

feat: add pr-welcome GitHub workflow automation responder#230

Merged
PRODHOSH merged 1 commit into
PRODHOSH:mainfrom
Babin123456:feat/pr-welcome-automation-workflow
Jun 30, 2026
Merged

feat: add pr-welcome GitHub workflow automation responder#230
PRODHOSH merged 1 commit into
PRODHOSH:mainfrom
Babin123456:feat/pr-welcome-automation-workflow

Conversation

@Babin123456

@Babin123456 Babin123456 commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

Related Issue

Closes #224

Summary

This PR sets up a new GitHub action workflow that comments automatically on newly created PRs.

Changes Made

  • Added .github/workflows/pr-welcome.yml with welcome text and validation tips.

Testing

  • Validated yaml syntax.

Checklist

  • Code follows project standards
  • Tested locally
  • No unrelated changes included
  • Responsive design verified
  • Accessibility considered

Summary by CodeRabbit

  • New Features
    • Added an automatic welcome comment on newly opened pull requests to improve contributor feedback.

@coderabbitai

coderabbitai Bot commented Jun 28, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

A new GitHub Actions workflow .github/workflows/pr-welcome.yml is added. It triggers on pull_request_target when a PR is opened, holds pull-requests: write permission, and posts a Markdown welcome comment mentioning the PR author via actions/github-script@v7.

PR Welcome Workflow

Layer / File(s) Summary
Welcome workflow
.github/workflows/pr-welcome.yml
Defines the triggered workflow, permissions, and the welcome job that builds and posts a comment using the PR creator's login from the event payload.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

A bunny hops in, PR in paw,
A greeting awaits — no awkward pause!
The workflow fires, a comment lands,
"Welcome, dear dev!" with open hands.
🐇✨ No contributor left behind!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the new PR welcome workflow automation.
Linked Issues check ✅ Passed The workflow matches #224 by triggering on opened pull requests and posting a welcome comment with the PR author.
Out of Scope Changes check ✅ Passed No unrelated changes are evident; the PR only adds the requested workflow automation.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/pr-welcome.yml:
- Line 15: The workflow step using actions/github-script@v7 should be pinned to
an immutable full commit SHA because it runs under pull_request_target with
write permissions. Update the uses reference in the GitHub Actions workflow to a
specific commit for actions/github-script, keeping the rest of the step
unchanged.
- Around line 7-8: The workflow permission block currently only grants
pull-requests: write, but github.rest.issues.createComment in the welcome job
also requires issues access. Update the permissions in the pr-welcome workflow
to include issues: write alongside the existing pull-requests permission so the
comment step can run successfully.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 13547666-e1af-4e2d-beeb-dcab432dcb17

📥 Commits

Reviewing files that changed from the base of the PR and between efd1074 and d507f8a.

📒 Files selected for processing (1)
  • .github/workflows/pr-welcome.yml

Comment thread .github/workflows/pr-welcome.yml
Comment thread .github/workflows/pr-welcome.yml
@PRODHOSH

Copy link
Copy Markdown
Owner

fix coderabbit comments and also use the exact template for ur pr @Babin123456

@PRODHOSH PRODHOSH self-requested a review June 28, 2026 17:35
@PRODHOSH PRODHOSH added ELUSOC ELUSOC project submission in-progress ADVENTURER Intermediate — 25 pts labels Jun 28, 2026
@Babin123456

Copy link
Copy Markdown
Contributor Author

OK

@Babin123456

Copy link
Copy Markdown
Contributor Author

@PRODHOSH All 6 checks have passed.
You can successfully merge this branch.
No merge conflict.

@PRODHOSH PRODHOSH merged commit 634d7a5 into PRODHOSH:main Jun 30, 2026
6 checks passed
@github-actions

Copy link
Copy Markdown

🎉 Your PR just got merged, @Babin123456 — thank you for contributing to OSSfolio!

Your work is now part of the project. Here's what to do next:

  • ⭐ If you haven't already, consider giving the repo a star — it helps us grow.
  • 📢 Share your contribution on LinkedIn, Twitter, or wherever you hang out. You shipped open source!
  • 🔍 Browse other open issues if you want to keep contributing.

We really appreciate you taking the time. See you in the next PR! 🚀

@PRODHOSH PRODHOSH added enhancement New feature or improvement completed and removed in-progress labels Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ADVENTURER Intermediate — 25 pts completed ELUSOC ELUSOC project submission enhancement New feature or improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT] Add automated PR welcome action workflow responder ELUSoC_2026

2 participants