feat: add pr-welcome GitHub workflow automation responder#230
Conversation
📝 WalkthroughWalkthroughA new GitHub Actions workflow PR Welcome Workflow
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
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
📒 Files selected for processing (1)
.github/workflows/pr-welcome.yml
|
fix coderabbit comments and also use the exact template for ur pr @Babin123456 |
|
OK |
|
@PRODHOSH All 6 checks have passed. |
|
🎉 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:
We really appreciate you taking the time. See you in the next PR! 🚀 |
Related Issue
Closes #224
Summary
This PR sets up a new GitHub action workflow that comments automatically on newly created PRs.
Changes Made
.github/workflows/pr-welcome.ymlwith welcome text and validation tips.Testing
Checklist
Summary by CodeRabbit