Skip to content

Configure Renovate #27

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Configure Renovate #27

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Apr 15, 2025

Welcome to Renovate! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin.

🚦 To activate Renovate, merge this Pull Request. To disable Renovate, simply close this Pull Request unmerged.


Detected Package Files

  • .github/workflows/ci.yml (github-actions)
  • .github/workflows/publish.yml (github-actions)
  • pyproject.toml (pep621)

Configuration Summary

Based on the default config's presets, Renovate will:

  • Start dependency updates only once this onboarding PR is merged
  • Hopefully safe environment variables to allow users to configure.
  • Show all Merge Confidence badges for pull requests.
  • Enable Renovate Dependency Dashboard creation.
  • Use semantic commit type fix for dependencies and chore for all others if semantic commits are in use.
  • Ignore node_modules, bower_components, vendor and various test/tests (except for nuget) directories.
  • Group known monorepo packages together.
  • Use curated list of recommended non-monorepo package groupings.
  • Apply crowd-sourced package replacement rules.
  • Apply crowd-sourced workarounds for known problems with packages.

🔡 Do you want to change how Renovate upgrades your dependencies? Add your custom config to renovate.json in this branch. Renovate will update the Pull Request description the next time it runs.


What to Expect

With your current configuration, Renovate will create 9 Pull Requests:

Update codecov/codecov-action action to v4.6.0
  • Schedule: ["at any time"]
  • Branch name: renovate/codecov-codecov-action-4.x
  • Merge into: master
  • Upgrade codecov/codecov-action to v4.6.0
Update dependency codespell to v2.4.1
  • Schedule: ["at any time"]
  • Branch name: renovate/codespell-2.x
  • Merge into: master
  • Upgrade codespell to ==2.4.1
Update dependency fastapi to >=0.115.12, <0.116.0
  • Schedule: ["at any time"]
  • Branch name: renovate/fastapi-0.x
  • Merge into: master
  • Upgrade fastapi to >=0.115.12, <0.116.0
Update dependency httpx to >=0.28.1, <0.29.0
  • Schedule: ["at any time"]
  • Branch name: renovate/httpx-0.x
  • Merge into: master
  • Upgrade httpx to >=0.28.1, <0.29.0
Update dependency quart to >=0.20.0, <0.21.0
  • Schedule: ["at any time"]
  • Branch name: renovate/quart-0.x
  • Merge into: master
  • Upgrade quart to >=0.20.0, <0.21.0
Update dependency ruff to v0.11.5
  • Schedule: ["at any time"]
  • Branch name: renovate/ruff-0.x
  • Merge into: master
  • Upgrade ruff to ==0.11.5
Update dependency uvicorn to >=0.34.1, <0.35.0
  • Schedule: ["at any time"]
  • Branch name: renovate/uvicorn-0.x
  • Merge into: master
  • Upgrade uvicorn to >=0.34.1, <0.35.0
Update codecov/codecov-action action to v5
  • Schedule: ["at any time"]
  • Branch name: renovate/codecov-codecov-action-5.x
  • Merge into: master
  • Upgrade codecov/codecov-action to v5.4.2
Update dependency pre-commit to v4
  • Schedule: ["at any time"]
  • Branch name: renovate/pre-commit-4.x
  • Merge into: master
  • Upgrade pre-commit to >=4.2.0, <4.3.0

🚸 Branch creation will be limited to maximum 2 per hour, so it doesn't swamp any CI resources or overwhelm the project. See docs for prhourlylimit for details.


❓ Got questions? Check out Renovate's Docs, particularly the Getting Started section.
If you need any further assistance then you can also request help here.


This PR was generated by Mend Renovate. View the repository job log.

Summary by Sourcery

Configure Renovate for automated dependency updates

New Features:

  • Add Renovate configuration to automatically manage and update project dependencies

CI:

  • Set up Renovate to create pull requests for dependency updates across GitHub Actions and Python dependencies

Chores:

  • Create Renovate configuration file to streamline dependency management

Copy link

sourcery-ai bot commented Apr 15, 2025

Reviewer's Guide by Sourcery

This pull request configures Renovate to automatically manage and update dependencies in the repository, including GitHub Actions and Python dependencies. It adds a renovate.json file with default settings and sets up scheduled updates for various dependencies.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Configures Renovate to automatically update dependencies in the repository.
  • Adds a renovate.json file to the repository.
  • Configures Renovate with default settings to manage dependencies.
renovate.json
Configures Renovate to update Github Actions.
  • Configures Renovate to update the codecov/codecov-action action to v4.6.0.
  • Configures Renovate to update the codecov/codecov-action action to v5.
.github/workflows/ci.yml
.github/workflows/publish.yml
Configures Renovate to update Python dependencies.
  • Configures Renovate to update the fastapi dependency.
  • Configures Renovate to update the httpx dependency.
  • Configures Renovate to update the quart dependency.
  • Configures Renovate to update the ruff dependency.
  • Configures Renovate to update the uvicorn dependency.
pyproject.toml
Configures Renovate to update pre-commit.
  • Configures Renovate to update the pre-commit dependency to v4.
pyproject.toml
Configures Renovate to update codespell.
  • Configures Renovate to update the codespell dependency.
pyproject.toml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!
  • Generate a plan of action for an issue: Comment @sourcery-ai plan on
    an issue to generate a plan of action for it.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

coderabbitai bot commented Apr 15, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


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.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

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)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, renovate[bot]!). We assume it knows what it's doing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants