-
-
Notifications
You must be signed in to change notification settings - Fork 333
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
Add auto assign milestone GitHub action #2784
Conversation
jjw24
commented
Jun 16, 2024
•
edited
Loading
edited
- Added auto assign milestone GitHub action
- Fixed gitStream screenshot request configuration issue
WalkthroughWalkthroughThe recent updates introduce two main features: a GitHub Actions workflow to automatically assign milestones to new pull requests based on patterns, and additional validation checks for screenshot links and image uploads in pull request descriptions. These enhancements aim to streamline project management and ensure quality control in contributions. Changes
Poem
Recent review detailsConfiguration used: CodeRabbit UI Files selected for processing (1)
Additional comments not posted (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 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 as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
Outside diff range and nitpick comments (1)
.github/workflows/pr_milestone.yml (1)
11-11
: Usingubuntu-latest
ensures the workflow runs on the latest stable Ubuntu runner. However, consider specifying a fixed version to avoid potential issues with future runner updates.
@check-spelling-bot Report🔴 Please reviewSee the 📂 files view, the 📜action log, or 📝 job summary for details.
See ❌ Event descriptions for more information. If the flagged items are 🤯 false positivesIf items relate to a ...
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Outside diff range and nitpick comments (1)
.cm/gitstream.cm (1)
77-79
: Ensure the regex patterns are optimal for detecting image links and uploads.Consider refining the regex patterns to improve their accuracy or efficiency. For example, ensure they do not unintentionally match non-image links or miss certain valid image formats.
|
||
has: | ||
screenshot_link: {{ pr.description | includes(regex=r/!\[.*\]\(.*(jpg|svg|png|gif|psd).*\)/) }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's the purpose of these changes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is for gitStream, a custom function in the config I missed, resulting in gitStream bot commenting screenshot request despite already included one in PR description.
gitstream/estimated_time_to_review • add label gitstream/explain_code_experts • add explain code experts comment:
gitstream/percent_new_code • add comment gitstream/request_screenshot • add comment To activate these actions - merge this PR into the main branch Learn more on the gitStream Docs |