-
Notifications
You must be signed in to change notification settings - Fork 2
chore: add pr-comments workflow with default messages #101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughA new GitHub Actions workflow file ( Changes
Sequence Diagram(s)sequenceDiagram
participant PR as Pull Request Event
participant GH as GitHub Actions Workflow
participant AC as Auto-Comments Workflow
participant Repo as GitHub PR
PR->>GH: Trigger on PR open/ready/close event
GH->>AC: Invoke auto-comments job (pr-auto-comments.yml)
AC->>Repo: Post automated comment on PR
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Description
This Pull Request adds the
pr-comments.ymlworkflow which posts customizable comments on Pull Requests submitted by external contributors (those outside the RequestNetwork organization).The workflow leaves comments in these situations:
Details
It uses the
GH_PAT_AUTO_COMMENTSorganization secret which is a Personal Access Token provided by @MantisClone (me). Thus, the comments look like they're being posted by me.Default messages
First PR Comment:
Ready for Review Comment:
Merged Comment:
Test
This test pull request created by an external user shows 3 messages being sent at the appropriate times.
Context
Towards:
Considerations
pr-comments.ymlworkflow is installed using the@maintag so this repo will pull the latest default messages from the auto-comments repo as soon as they're merged to themainbranch.Reference
Summary by CodeRabbit